From: David D. K. <ddk...@ki...> - 2005-06-01 03:28:54
|
Last I knew, HtmlUnit did not support this JavaScript event. I would suggest filing an RFE (request for enhancement) for this feature. If you're really ambitious, you could try implementing it yourself and providing a patch. Dave On May 31, 2005, at 4:01 PM, Sridhar Ranganathan wrote: > Hello, > > I have a text field with "onkeypress" event (javascript) defined. > What I > want to do is to enter the value to the field using setInputValue() > and > to trigger this onkeypress event. > > To do it manually, after entering the value, I would press <Enter> > key. > Using HtmlUnit, is there any way to activate this event ? > > Thanks > Sridhar |