Logo 
Search:

Javascript Articles

Submit Article
Home » Articles » Javascript » EventsRSS Feeds

Program to display alert on click of link

Posted By: Hailey Campbell     Category: Javascript     Views: 4920

Program to display alert on click of link.

Syntax for Program to display alert on click of link in Javascript

<HTML>
<HEAD>
<TITLE>DISPLAYING ALERT IN JAVASCRIPT</TITLE>
<SCRIPT language="JavaScript"><!--

function Load(){
 alert("www.syntax-example.com")
}
function UnLoad(){
 alert("Thanks For Visit")
}
//-->
</SCRIPT>
</HEAD>
<BODY onLoad="Load()" onUnLoad="UnLoad()">
<CENTER>
<BR>for more details<br>
<A href="http://WWW.syntax-example.com"
onClick="DislplayAlert()">visit www.syntax-example.com
</a>
</CENTER>
</BODY>
</HTML>

Example for Program to display alert on click of link in Javascript

DISPLAYING ALERT IN JAVASCRIPT

for more details
visit www.syntax-example.com
  
Share: 


Didn't find what you were looking for? Find more on Program to display alert on click of link Or get search suggestion and latest updates.

Hailey Campbell
Hailey Campbell author of Program to display alert on click of link is from Toronto, Canada.
 
View All Articles

Related Articles and Code:


 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!