$(function () {
//Textfield's event
$('#name').keyup(function () {
//where to store --Load from the server --where to store again --params
$('#results ul').load('load-example.php #results ul li', { name : this.value });
//Load load-example.php from the server and store it in #results ul with this params
//{name:this.value} with is this inputs value
});
});
http://www.yensdesign.com/tutorials/contentajax/
No comments:
Post a Comment