[Javascript] Select | Avoid changing to selected element

Simone Fumagalli simone at tomato.it
Mon May 15 10:27:38 CDT 2006


Ciao javascript,

  I've a select where on OnChange I run a function.

  What I would like to do is to avoid the element changing if my
  function return false.

  Something like what happens with form and OnSubmit, where, if the
  function called by OnSubmit return false, the form is not submitted.

Thanks in advance.

-- 
Simone - simone at tomato.it




More information about the Javascript mailing list