jQuery Ajax

11 2012

1. Call jQuery script from “http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js”

2. Include the following code.

$.get('test.php', function(data) {

test.php – A dynamic page / static page needs to load in the div.
#result – Div used to replace the dynamic content.
data – response from the dynamic page.

3. Trigger this event in onclick or any other event using javascript.

See the jQuery ajax how fast it is …..

Web Design Tips

19 2010