AjaxML:以更简便和不一样的方式来使用Ajax

12年前
JavaScript frameworks simplify sending Ajax requests so much by wrapping all the stuff into a cross-browser function.

AjaxML, a jQuery plugin, simplifies it even more for basic Ajax requests and can also handle any complex ones.

It works by defining the "details of the requests" inside HTML attributes like <a href="say_hello.html" into="divName"> ends up in hello.html being loaded inside the #divName HTML element.

AjaxML

Attributes exists for sending parameters, request method (GET, POST), validation, history and more.

AjaxML has both pros and cons. Defining requests in HTML and not being able to view/organize them in a single JS file is a minus (this can be so hard to maintain in large projects) while the ability to send requests "not-like JavaScript but HTML" can be  huge "plus" for many (specially web designers who are not good at JavaScript)