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
Post a Comment