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 - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -