OK, been trying things for hours and could use some help. I\'m trying to implement a page in MVC 3 that has \"back\" and \"next\" buttons. When the back button is clicked I
I use this for button
$("button").each(function (elem) { var button = $($("button")[elem]); button.addClass('cancel'); if (button.attr('type') == 'submit') { button.click(function (e) { var validator = button.closest('form').validate(); validator.cancelSubmit = true; }); } });