(Move to ...)
▼
Calling href using JavaScript
<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>
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment