I am displaying a message box using this code
ClientScriptManager.RegisterStartupScript(typeof(Page), "successfull", "alert('Your email has been sent successfully!'); window.location = 'www.mypage.com/Default.aspx';", true)
it's working properly now i want to change the title of this message box then how can i do this
title is - the page //localhost says but i want the title - Record Information
you can't change title of standard Alert window. the only way is to create pseudo-modal window on javascript, html and css.
here are some examples on jquery:
.. or some asp.net controls:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.