Menu

Unable to get response from Javascript submit

Help
2003-09-08
2003-09-08
  • Michael Sharman

    Michael Sharman - 2003-09-08

    I have an <input type="button" onClick="Submit();"> that submits a form, I can successfully cause the submit to work using the click() method on the Button class but how I do I access the WebResponse that results from this?

     
    • Christian Hargraves

      Try using the WebConversation.getCurrentPage().

      This, of course, is not a static method, so you must call it from an instance variable or WebConversation

       

Log in to post a comment.

MongoDB Logo MongoDB