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

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -