$(this).next().val( data[i] ) worked Jörn, thanks.

Any idea how I would make this work when the multiple attribute is
used? Right now it will return only the last value selected.  It would
be nice to capture all of the ids, delimited using the same
multipleSeparator value that the text area uses.

Jeff


> 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