RE: [Httpunit-develop] help with button javascript
Brought to you by:
russgold
From: Varun R B. <vr...@us...> - 2004-11-22 15:37:11
|
I am having a similar problem. Problem is if the <input ... > tag is outside of a form as free flowing in the html page (mine is in a table cell), then there is no way of getting to it (or at least I couldnt). I believe if you did the same, you are getting a NPE as there might not be any form in the page. Does anyone know how to sove the problem? Thanks, Varun "Garrett, Ron" <Ron...@il...> Sent by: htt...@li... 11/22/2004 08:50 AM Please respond to httpunit-develop To: <htt...@li...> cc: Subject: RE: [Httpunit-develop] help with button javascript Can you be more specific? -----Original Message----- From: htt...@li... [mailto:htt...@li...] On Behalf Of Vu Dinh Sent: Friday, November 19, 2004 20:25 To: htt...@li... Subject: [Httpunit-develop] help with button javascript Hi, I have a html page with a link button. <input value="Go Here" style="BORDER:3px outset #3f7c5f;" type="button" name="Submit" onclick="top.location=mylink.html"> WebForm buttonForm = response.getForms()[0]; response = buttonForm.submit(); This is not working correctly. Please advice, -vu __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Httpunit-develop mailing list Htt...@li... https://lists.sourceforge.net/lists/listinfo/httpunit-develop ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Httpunit-develop mailing list Htt...@li... https://lists.sourceforge.net/lists/listinfo/httpunit-develop |