From: Marc G. <mgu...@ya...> - 2005-08-11 17:14:50
|
The onchange handler should be fired. May you have deactivated javascript? Marc. Steve Gray wrote: > I'm trying to set the value attribute of this input type=text object, but > nothing I do seems to get the onchange event to fire - does htmlunit have an > equivalent method to the IE DOM method fireEvent? See: > http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/fireevent.asp > > Here's the tag: > <input type="text" name="doseWeightRate" maxlength="10" size="10" value="" > onchange="doseWeightRateEntered()" class="rightAlign"> > > I use setValueAttribute, and the value changes, but I can't get the onchange > event to fire. > > Thanks- > Steve > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > |