Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I have a user control which contain a form tag. And the form tag attribute Method value is POST.This user control contains only the html controls because I have to submit the form data to another server without visiting to the host server.
But my page contains more then one form tag. And I want to submit only the content of a particular form tag on the click of a button. I want to do this using java script.

Please let me how can I achieve this.

Thanks,
Alok Kumar
Posted

1 solution

A form submit will only send the controls that are between the begin and end element of that form. Just set the action and call the submit and that's it.

Good luck!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900