Using window.confirm

J

JJ297

I want a confirmation as such and after the user clicks the okay
button go to the home page. Do I do something as such?

Submit.Attributes.Add("onclick", "return window.confirm('Your entry
was submitted.')")
Response.Redirect("Library.aspx")

Do I put it in the page load or submit_click?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top