Menu

Javascript Submit

2004-02-28
2004-04-20
  • Timothy M. Spear

    Hi,
       I have searched the archives and cannot find a match for what I am trying to accomplish.
       I am using the WebForm class to find the list of buttons on the form and proceeding to make the click() call on the desired button. However, the javascript does not seem to function correctly. The javascript performs two steps, first is to set a form variable (it works, I checked before and after the click method) and second to perform form.submit().
       The form.submit does not appear to work.

    Here are some additional details:  
    -- Form has no action specified (should return to the same URL)
    -- Form has no "submit" button. Normal buttons only.

    Any additional ideas would be appreciated.

    Thanks,

    Tim

     
    • Rama

      Rama - 2004-04-20

      Hi,
      In the form i have a button and have defines onclick() method.  When i try to call button.click() nothing happends.
      doButtonAction() does not implement the click() funtion.
      please let me know the solution for ths problem

      thanks
      Rama

       

Log in to post a comment.

Auth0 Logo