Jquery 1.4
gen15
Come recita il banner nell’home page di jquery Nuovo anno, nuova versione. Infatti, ieri è uscrita la nuova versione 1.4 della libreria javascript. Per festeggiare l’evento hano creatoun nuovo sito dove possiamo trovare tutte le informazioni sul rilascio di jquery dal’ultima RC.
Sicuramente interessante è l’annucio del rilascio della nuove versione o le domande e risposte.
Tutte le novità e modifiche sono presenti qui
Riporto un elenco delle nuove funzionalità:
- .clearQueue()
- jQuery.contains()
- .delay()
- .detach()
- .focusin()
- .focusout()
- .has()
- jQuery.isEmptyObject()
- jQuery.isPlainObject()
- .nextUntil()
- jQuery.noop
- .parentsUntil()
- .prevUntil()
- jQuery.proxy()
- .toArray()
- .unwrap()
Ci sono delle novità anche per quanto riguarda la parte AJAX, cito solo i titoli dei paragrafic eh riguardano la sezione
Nested param serialization (jQuery.param() Documentation, Commit 1, Commit 2)
JSON and script types auto-detected by content-type (jQuery.ajax Documentation, Commit 1, Commit 2)
Etag support has been added (jQuery.ajax() Documentation, Commit)
Strict JSON parsing, using native JSON.parse (jQuery.ajax() Documentation, Commit 1, Commit 2, Commit 3)
Serialize HTML5 elements (jQuery.param() Documentation, Commit)
Context for Ajax Request (jQuery.ajax() Documentation, Commit)
Success callback receives XHR object as third argument (jQuery.ajax() Documentation, Commit)
Explicitly set a content-type (jQuery.ajax() Documentation, Commit)
Explicitly specify a JSONP callback name (jQuery.ajax Documentation, Commit)
Avoid pre-flighting cross-domain XHR (Commit)
jQuery.ajax() is now using onreadystatechange instead of a timer (Commit)
Ce n’è da imparare!