Frnds i want to submit data to two different controllers using two different buttons on one form and i want that both buttons call different actions and also provide all the values of the form to their respected controller.
Frnds i want to submit data to two different controllers using two different buttons
Share
You can do this with JavaScript like so:
HTML
JavaScript
All you need to do is make sure this code is placed after the from in the HTML markup or add it to a jQuery document.ready function.