i have taken over an asp.net mvc and i there are a lot of actions that require user confirmation. The current implementation is to have a separate View for each of these confirmation pages.
i thought it would be slicker to use jquery to have a little popup when you click "delete user" for example that shows the user confirmation there ("Are you sure you want to delete user "xx"?)
I want this to work similar to when you click on "CLOSE" on a stackoverflow question. You get the inline popup to confrim and then submit
any suggestions where to start? Should this still be another view or should this code be embedded in the regular view that has the actions? i have been playing around with the jquery samples but i feel like i am still very much guessing on the best practice here.
So I went to view the page source of stackoverflow to look at what happens when you click on the close button but all i see is:
<a id="close-question-1238657" title="closes/opens question for answering; when closed, no more answers can be added">close</a>
i dont see what is calling the popup