Link to home
Start Free TrialLog in
Avatar of ekenman
ekenman

asked on

JQuery Parent/child form. how to Post to MVC Controller

This project is a booking calendar for a Spa.

I have a calendar on the Booking page. When the user clicks the calendar, a JQuery dialog is displayed with booking info.

The end user will here enter one or more treatments before they enter any information about the Customer. Since I don't know if this is a return or new customer, I don't want to save to the DB at this point so I put the information in a table in the dialog.

When the user press the OK-button, I'd like to save the information to the server. There are several form fields and off course the table with the information. How do I pass the data to the server with an AJAX call? If I use a Form Post, the data in the table will not be passed.

Any help is appreciated.

Best Regards

Tomas


ASKER CERTIFIED SOLUTION
Avatar of ekenman
ekenman

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial