I've been playing around with it, and the following will work if I
want to set the hidden value to "test"...
$("#account").result(function(event, data, formatted) {
$("#account_value").val("test");
});
...but I'm still not sure how to get the value from the "id" key value
of the selected row in the array. Does that make sense? (If I select
"Account One" from the auto-complete, I want the value of my hidden
input to be "0001".)
No comments:
Post a Comment