Topic awaiting preservation: Firing DOM Events (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 06-20-2005 18:27
I have a calendar widget that is spawned when a link is clicked. When you can then select a date from this widget and it then updates the value of an input text field. code: if (inputobj.hasAttribute("onchange") && inputobj.getAttribute("onchange") == "valueChanged(this)"){ valueChanged(inputobj); }
|
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 06-20-2005 18:49
To answer my own question. code: if (inputobj.hasAttribute("onchange")){ inputobj.onchange(); }
|