Created
August 22, 2017 09:09
-
-
Save chatrapathik/f3e08571823c9173954e74080a4e834a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var xhr = null; | |
function ajax_call() { | |
xhr = $.ajax({ | |
type: "GET", | |
url: url1, | |
success: function (html){ | |
// do some thing | |
} | |
}); | |
} | |
function kill_ajax() { | |
xhr.about() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment