Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajax({
- url: "second.html",
- }).done(function( res ) {
- $("#content").html( $(res).find('#content').html() );
- });
- function isAjax (headers) {
- return headers.get('X-Requested-With') == 'XMLHttpRequest');
- }
Add Comment
Please, Sign In to add comment