Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Possible to trigger the onChange() event handler of a form element from a function?


Message #1 by "cb" <wrox@e...> on Tue, 26 Feb 2002 02:50:33
I wondered if it is possible to trigger the onChange event handler of a 
HTML form element from a javascript function.  The following obvious try 
does not work:

document.form.elements[n].onChange()

and the following evaluates to undefined in IE6 even if the element has an 
onChange handler:

document.form.elements[n].onChange

  Return to Index