$.get(url) is equivalent to $.ajax({type: "GET", url: url}), so it's just a short form.
Whether you use $.get or $.ajax depends on how far you have to specify the request. With $.ajax you can pass some more options to the request.
$.ajax is the same as XHR, only made easier to use.
Fetch has some missing events in contrast to XHR, like:
- progress event
$.get(url) is equivalent to $.ajax({type: "GET", url: url}), so it's just a short form.
Whether you use $.get or $.ajax depends on how far you have to specify the request. With $.ajax you can pass some more options to the request.
$.ajax is the same as XHR, only made easier to use.
Fetch has some missing events in contrast to XHR, like:
- progress event
- overriding content-type header of the response
...
I'd recommend using jquery's methods and if it's a simple request $.get.
thanks for your help i appreciate that, now i understand abit more
i have another question, so jquery is a library, ajax is doing the samething as xhr but behind the scenes to make it easier right?
thanks for your help i appreciate that, now i understand abit more
i have another question, so jquery is a library, ajax is doing the samething as xhr but behind the scenes to make it easier right?
Proffesional Front-end (Html,css,js (jquery,ajax)), Back-End (PHP) solutions 04/14/2014 - Coders Trading - 1 Replies Hello, i offer you Professional Front-end, Back-end solutions.
I have more than 3 years of PHP/HTML/CSS experience
About 2 years of Javascript developing
MVC, OOP, Jquery, AJAX are my best friends.
I work with Codeigniter (back-end) and Foundation (Front-end) Frameworks.
I`m working with Joomla CMS too.
Jquery Ajax PHP HTML Java PLEASE HELP ME! 05/04/2011 - Main - 0 Replies Hallo Com,
http://ralphwhitbeck.com/content/binary/JQuery_lo go_color_onwhite.png
Ich suche jemanden der mich in skype adden kann und mir hilft,
ich habe ein javascript (das ich hier nicht veröffentliche) und möchte da ein PHP script einbauen. Aber es geht nicht so wie ich es will
bitte helf mir jemand persöhnlich
skype ist am besten
Jquery/Ajax [FRAGE] 02/07/2011 - Metin2 Private Server - 23 Replies Ich wollte mal fragen...
ich habe ne webseite und möchte im content bereich etwas anzeigen lassen
ohne die seite neu laden zu müssen
also
es gibt zum beispiel