[Question] Alert [Question]

Status
Not open for further replies.

Zack

Member
Jul 12, 2010
361
7
I went to a "Rick Roll" site and got this FAKE alert:
You must be registered for see images attach

I was wondering how do I make an alert like this?
Whats the code for this?
P.s. Im not sure if this is the right section. Sorry.
 

Super

New Member
Feb 8, 2011
33
1
<script type="text/javascript">
function display_alert()
{
alert("message");
}
</script>
</head>
<body>

<input type="button" onclick="display_alert()" value="Click to see -message-" />

This makes it look more realistic because you have to click first.
 
Status
Not open for further replies.

Users who are viewing this thread

Top