Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- unction ajaxLoader(url)
- {
- if (document.getElementById) {
- var x = (window.ActiveXObject) ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
- }
- if (x)
- {
- x.onreadystatechange = function()
- {
- if (x.readyState == 4 && x.status == 200)
- {
- alert('sent')
- }
- }
- x.open("GET", URL, true);
- x.send(null);
- }
- }
Add Comment
Please, Sign In to add comment