Javascript alerbox is one of the best idea to display the message to customer in the various types of browsers.
Code:
<html>
<head>
<title>Simple javascript alertbox for link</title>
<script type="text/javascript">
function Jscriptalert() {
var jalert = confirm ("This is the javascript alertbox for link. Please click on OK to continue.")
if (jalert)
window.location="http://www.sanwebcorner.com";
}
</script>
</head>
<body>
<a href="javascript:Jscriptalert();">click Here to display javascript alerbox</a>
</body>
</html>
0 Comments