<html>
<head>
<title>Calling JavaScript Href</title>
<script>
function callHref()
{
alert("Function is called from Href");
}
</script>
</head>
<body>
<a href="javascript:callHref()">Calling JavaScript Href </a>
</body>
</html>
Labels: Javascript
Copyright © 2012 http://codeprecisely.blogspot.com. All rights reserved |Term of Use and Policies| |
---|
0 comments:
Post a Comment