i have a form that gathers user inputs and has two submit buttons.
according to the input received (via user input) the appropriate
submit button is clicked (by the program).
the form would have a ACTION that actually runs a script on the web
server once the submit button is clicked or run.
how to do the following with javascript ?
how does one run (or click) the submit button via javascript. it is
not the user who is clicking the submit button but has to be done
programmaticall y.
(example: user input fields (like type TEXT) can be filled with values
via javascript. similarly how to click or run the "submit" type ?)
according to the input received (via user input) the appropriate
submit button is clicked (by the program).
the form would have a ACTION that actually runs a script on the web
server once the submit button is clicked or run.
how to do the following with javascript ?
how does one run (or click) the submit button via javascript. it is
not the user who is clicking the submit button but has to be done
programmaticall y.
(example: user input fields (like type TEXT) can be filled with values
via javascript. similarly how to click or run the "submit" type ?)
Comment