Guest User

Untitled

a guest
Dec 13th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. $.ajax({
  2. url: "second.html",
  3. }).done(function( res ) {
  4. $("#content").html( $(res).find('#content').html() );
  5. });
  6.  
  7. function isAjax (headers) {
  8. return headers.get('X-Requested-With') == 'XMLHttpRequest');
  9. }
Add Comment
Please, Sign In to add comment