0 votes
10 views

jQuery AJAX submit form

Submitting AJAX Forms with JQuery

AJAX Forms

Processing the Form process

Submitting the Form using AJAX

have a form orderproductForm and some undefined number of inputs field.

I want to do some kind of jQuery.get or ajax or anything like that that would call a page through Ajax, and send along all the inputs of the form orderproductForm

I suppose something like this

jQuery.get("myurl",
          {action : document.orderproductForm.action.value,
           cartproductid : document.orderproductForm.cartproductid.value,
           productid : document.orderproductForm.productid.value,

However I do not know accurately all the form input fields. Is there a method or something that would just send ALL the form inputs?

by (1.3k points)  
edited by | 10 views

Please log in or register to answer this question.

Related questions

+2 votes
0 answers
+3 votes
0 answers
asked Mar 20 by Rehan | 29 views
+2 votes
1 answer
+2 votes
1 answer
asked Jun 14 by toheed (1.2k points) | 18 views
+1 vote
1 answer
+1 vote
1 answer
asked May 27 by toheed (1.2k points) | 14 views




Welcome to Meansflow - Where Developers and Students Learn, Share, & Build Careers, where you can ask questions and receive answers from other members of the community.
113 questions
85 answers
38 comments
103 users