From: Erskine, C. <chr...@ed...> - 2004-10-19 12:11:07
|
If frmSubmit does not factor into the pages that you are working on, it may be an error from one of the earlier pages. Does frmSubmit have any Microsoft only code in it? Not many of the Microsoft functions have been coded yet. Clicking on an image does work in the latest release. Chris Erskine EDS Consulting Services F5-EDS-001 2424 Garden of the Gods Rd Colorado Springs, CO 80919 Phone: 719-535-6064 Phone: mailto:chr...@ed... -----Original Message----- From: Vinay Murthy [mailto:vin...@gm...] Sent: Monday, October 18, 2004 7:03 AM To: htm...@li... Subject: [Htmlunit-user] Re:Re: how do I handle pop-up windows ? Hi, > EcmaError: lineNumber=[1] column=[6] lineSource=[return frmSubmit()] > name=[SyntaxError] sourceName=[body.onLoad] message=[invalid return] > errorObject=[SyntaxError: invalid return] > com.gargoylesoftware.htmlunit.ScriptException: invalid return The problem is in the onload handler of the new page that has just been loaded. What does frmSubmit() return? The page I am trying to access through a link happens to be a .asp . Interestingly, frmSubmit() doesn't figure anywhere in the page that loads up freshly or the page where the link to this new page lies. Actually, when I click on the link, I get a new browser window(minus the tabs). And I noticed some kind of an activity additionally on the previous window where the link lies.(a frame blanking out and then getting loaded with the same previous contents) Also, has the "clicking on an image" feature included in the latest stable release ? Best Regards, Vinay ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Htmlunit-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-user |