mirror of
https://github.com/ascribe/wp-theme
synced 2024-12-23 01:30:09 +01:00
15 lines
373 B
JavaScript
15 lines
373 B
JavaScript
$(document).ready(function(){
|
|
$('#more-articles').click(function(e){
|
|
e.preventDefault();
|
|
$.ajax({
|
|
url: ajaxpagination.ajaxurl,
|
|
type: 'post',
|
|
data: {
|
|
action: 'ajax_pagination'
|
|
},
|
|
success: function( result ) {
|
|
alert( result );
|
|
}
|
|
})
|
|
});
|
|
}); |