asp.net mvc 4 - MVC confirm box after controller clause -
controller
if (1 > employee.2) { return redirecttoaction("index", "home", new { aid = a.id); } view
<script type="text/javascript"> var = confirm("question"); </script> controller checks clause shows confirm box if true. how return controller without losing form data posted
Comments
Post a Comment