Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Form submit in javascript

    • 0
    • 2
    • 1
    • 2
    • 0
    • 0
    • 0
    • 0
    • 334
    Comment on it

    I would like to share an interesting feature that I found as I was trying to submit form through JavaScript.
    If you are trying to "form.submit()" through javascript and any form elements present with the name of "submit" in it, then in that case it will give you an error and form will not be submitted. You have to rename the particular element from 'submit' to 'submitBtn' or anything else for the successful submission.
    You can also make necessary changes if any more required according to you.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: