Codesupplier.com

free html codes for your website

Pop-up with cancel button

This code is the same as the normal pop-up codes however this code has a cancel button on it to give uses the chance to hit cancel instead of ok. Ideal for alerting users of updates etc...

To see an example of the code in use click here.

Want the code? Paste the html below into your editor. Change the text in red to your message.

<SCRIPT language="JavaScript">confirm("Pop-up message here")</SCRIPT>

 

< Go Back to Javascript Snippets