Jeff Fleitz schrieb:
That's what I thought, but I can't get it to do anything. If suggest2
is the text field lookup and suggest2_pk is the hidden field, how is
that function going to update the hidden field, when there is no
reference to it?

I tried assigning the hidden field value in the code above, like the
following.

$("#suggest2+pk").value = $(this).find("..+/input").val(data[1]);
Try $("#suggest2+pk").val( data[1] ) or $(this).next().val( data[i] );
And first check if the "#suggest2+pk" selector really selects your hidden input.

--
Jörn Zaefferer

http://bassistance.de

Reply via email to