I have a selectbox where each option has an attribute "val" and on the selects change event I grab the value of the "val" attr and set the value of another element (a textbox) with that.
<option value="1" val="x2">One
<option value="2" val="z6">Two
so onchange then a textboxs value will = z6 if option Two is selected
i've incorporated a lookup box for the selectbox - when i type then a match is selected
but that of course doesnt trigger the jquery change function for the selectbox
how should i go about this?
how can i trigger the change function?