javascript - Diffrence between Ajax requests? -


i started working ajax, , i'm listening tutorials on 1 tutorial see code like:

     $("button").click(function(){     $.get("demo_test.asp", function(data, status){         alert("data: " + data + "\nstatus: " + status);     }); }); 

on other cases see xmlhttprequest done in javascript can tell me diffrence between two? beacuse confusing listening 1 tutorial tells 1 thing , other second thing

jquery wraps use of xmlhttprequest $.get request (etc.) bassicly using same method of ajax.


Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -