Search Result

Collapse
2 results in 0.0037 seconds.
Keywords
Members
Tags
document.submit
  •  

  • Javascript document.forms[0].submit() not submitting form values

    Hello,
    1) I have a php script A with several buttons(not submit) on a form.
    2) On click of any of the buttons, a specific javascript function is called.
    3) Depending on the outcome of the javascript function, a second php script, (set in the action property of the form) B is called with the document.forms[0].submit() function.

    Problem: Javascript correctly references script B. However, I cannot reference...
    See more | Go to post

  • terence.parker@gmail.com
    Guest started a topic document.submit() not work now?

    document.submit() not work now?

    I have a PHP application which I wrote last year - and the JavaScript
    worked fine then. For some reason, now it doesn't - neither on IE nor
    Firefox. Has something changed?

    When I click on my HTML link now (which executes a JS function), the
    firefox JS console tells me:
    Error: document.Subjec tsForm.submit is not a function

    Any help would be much appreciated. Thanks!



    The script,...
    See more | Go to post
Working...