PDA

View Full Version : onchange submit(); doesnt work on pocket PC


skalag
03-09-2003, 08:51 PM
Hi, i have a series of select boxes that filter the rs upon the users choices, this works fine on pc, the select box's form is posted as

<SELECT name="Smodel" onchange="submit();">

but when i try this on a pocket pc the onchange event doesnt occur, the easy answer to this is to put a submit button on the form, which also works ok for me, but id like to know if there is a reason the onchange event doesnt work here that i could fix...

glenngv
03-10-2003, 01:46 AM
is submit() your own function? or is this the method of form object? if the latter, change it to:
<SELECT name="Smodel" onchange="this.form.submit();">

skalag
03-10-2003, 02:50 PM
Thanks glenngv, that was spot on.