Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.

Thread: 

Javascript alert popup

Tags: None
Ads
ivan Offline referral

Posts: 713
Joined: Jul 2013
Reputation: 6

#1
Senior Member
How do I pop up an alert in Javascript?
chod Offline referral

Posts: 860
Joined: Jul 2013
Reputation: 85

#2
Posting Freak
Since you do not state anything other than pop-up here is the most basic example you can get

Code:
<!DOCTYPE html>
<html>
<head>
<script>
function myFunction()
{
alert("Hello! I am an alert box!");
}
</script>
</head>
<body>

<input type="button" onclick="myFunction()" value="Show alert box" />

</body>
</html>
www.AdminEmpire.com
www.BlimptonTech.com - Best Free Online JavaScript tool to minify JavaScript files.
ivan Offline referral

Posts: 713
Joined: Jul 2013
Reputation: 6

#3
Senior Member
Thanks bro it works Wink





User(s) browsing this thread: 1 Guest(s)