Use Confirm Box

[Total: 0    Average: 0/5]

Use the confirm box to view page or send user to referrer page.

Body Code:

<script>
<!-- Begin
var agree=confirm("I'd like to show you how to get this exact JavaScript message script.  OK?");
if (agree)
document.write("agree");
else
{
document.write("not agree");
history.go(-1);
}
// End -->
</SCRIPT>

Times Viewed: 6

Leave a Reply

Your email address will not be published. Required fields are marked *