gerimter
Do you have examples of that? <php and ajax>
|
|
php and ajaxgerimter
Do you have examples of that? <php and ajax>
jmraker
Here's a simple one that uses jQuery to put the contents of an ajax call into the h2
The ajax call is $("h2").load("?ajax"); where it loads the page again with an ajax parameter. where it can return text like HTML, XML, json, or plaintext. But the header('Content-type: text/xml') should be used to have the XML parsed by the browser.
gerimter
thanks
b4r4t
Well ... there are good examples directly on jquery reference manual.
.ajax method is realy easy to use with jquery. You also will use PHP5 func - json_encode i think Related topics
|