jquery autocomplete
jquery autocomplete
Hi,
I am using jquery Auto Complete 4.1 plugin by Corey Hart @
http://www.codenothing.com
.
Following code is in document.ready function.
-
$('input[name=orgName]').autoComplete({
ajax: 'ajax2.php',
onSelect: function(data, $li){
var oname = data.value;
$('#actionBy').show('slow');
$("#users p").load("getClient.php?orgName="+oname);
}
});
Whatever data I am selecting from the selectlist, is displayed on the same page, I have some code in onSelect method and I have another select box in which I have some actions like
deleting and moving data.
first of all the auto complete is initializing when the document get ready and auto complete list is not getting refreshed again; I mean not sending request to the php file.
Please Help, I am stuck here.