jquery autocomplete: call another webmethod in select
in my app i am using jQuery autocomplate to fill a textbox and a hidden
field with the id. it is working fine. Now i want to pull some more data
based on the id selected. I am new to jquery and could not find any other
threads based on this. Here is the code i use for select an item from the
list
select: function (event, ui)
{
this.value = ui.item.value;
$("#" + name).val(ui.item.label);
$("#" + idfld).val(ui.item.value);
return false;
}
inside this function i want to call another webmethod which will return
data curresponding to the id. i want to fill other textboxes based on this
data. Please help any suggestions
No comments:
Post a Comment