How to programatically submit a form?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alro
    New Member
    • Sep 2010
    • 3

    How to programatically submit a form?

    Let's say i want to read a html formular, which consist on 2 page: in the first page i have to complete a radio option and in the second page, based on my option, return sec1.html or sec2.html
    the first page have a submit button, which is hidden and masked with a image type button.
    I want to programatically , using document.getEle mentById to complete the option, lets say with option2, but also, after that, to simulate the user push button, so the browser show the sec2.html. My problem is that I can't intercept that submit button.
    Thanks in advance
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    Javascript questions should be asked on the javascript board.

    Comment

    • alro
      New Member
      • Sep 2010
      • 3

      #3
      it'a about html

      In fact, I don't need java for this, I want to intercept this submit button from vb code, using an instance of IE, so, I need to know how this hidden button can be used using document properties

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        Java is not javascript but, still, if this is a vb question, you should ask on the vb board.

        Comment

        Working...