I am trying to submit a form thru javascript on the fly (using jquery-form)
Is it possible to create ‘FORM’ update bunch of values in that ‘FORM’ using javascript without having HTML-form ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m going to guess that what you’re asking is ‘Can I perform an HTTP POST without using an HTML form?’ The answer is yes.
Check out jquery’s $.post(). It would look something like this:
Where the variable names you’re passing are value1/value2 with their corresponding values.
Here’s the jquery reference: $.ajax