Call the confirm dialog from a anchor tag

Dec 16, 2010 at 4:36 AM

Love the new Popup...keep up the good work

I have a hyperlink(rather than an input tag) that I'd like to use to call the confirm dialog.

What's the best way to do that?

Coordinator
Dec 16, 2010 at 7:32 AM

the Html.Confirm is used to confirm a form submission,

but you can get the same result using the Popup, you specify 2 buttons for it with 2 js function for each button

 

at the moment you need to give it an action to fill it's content, in the next version I have put an content parameter so that you could write the content in the view