L.S.
Using the demo on
http://demos.kendoui.com/web/validator/index.html
How do I send the form data to the server (preferably as json, but anything goes.) I assume that the magic must happen in:
Using the demo on
http://demos.kendoui.com/web/validator/index.html
How do I send the form data to the server (preferably as json, but anything goes.) I assume that the magic must happen in:
$("button").click(function() { if (validator.validate()) { status.text("Hooray! Your tickets has been booked!").addClass("valid");
// right, so here we can save, post, the form data? But how?
// something like save("http://address.to/server/path/","json","POST") ?
} else { status.text("Oops! There is invalid data in the form.").addClass("invalid"); } });
kind regards, Koen