SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 382 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"

In Joomla! we don't have to directly use this class because
Joomla! comes with the mootools library.
There are a few different ways in which we can handle AJAX using mootools. We
can use the Ajax class, the XHR class, or the send() method. We generally only use
the Ajax and XHR classes directly if we are creating complex AJAX requests.
Chapter 10
[ 287 ]
We will explore the send() method. This method is intended for use with form
elements; it submits form data and allows us to handle the response when it is
received. For more information about the Ajax and XHR classes please consult the
official mootools documentation: http://docs.mootools.net/.
Before we delve into the JavaScript we need to create a form which can be used to
initiate an AJAX request:






When we use this form we are rewarded with the XML document we described in
the previous section.


Pages:
370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6