Forum Moderators: open

Message Too Old, No Replies

domino select filling

         

natty

7:26 pm on Mar 15, 2003 (gmt 0)

10+ Year Member



hi all,

3 select dropdowns in a row.
want to be able to pick an option from select #1, which will fill #2 with values depending on #1. that is nps.. ut when #2 fills, and defaults, i want it to automaticaly trigger the filling and defaulting of #3.
is this possible without putting a call in at the end of each fill.? the onchange doesnt seem to pick up the fact that a select has been filled as a change.

any help would be great.

cheers

nat

DrDoc

7:48 pm on Mar 15, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Youre' right - a fill will not trigger onchange. Onchange is a change by the user, as in when he/she makes a new selection.

But, you can explicitly put call the "fill #3" function from the end of the function that fills #2. It will have the same effect.

Of course, leave it in the onchange attribute as well, so that it will take care of changes made by the user.