Zack Member Jul 12, 2010 361 7 Feb 22, 2011 #1 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.
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.
Bazinga Posting Freak Aug 3, 2010 819 54 Feb 22, 2011 #2 <script type="text/javascript"> <!-- alert ("TEXT") // --> </script> Upvote 0 Downvote
Super New Member Feb 8, 2011 33 1 Feb 22, 2011 #3 <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. Upvote 0 Downvote
<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.
Zack Member Jul 12, 2010 361 7 Feb 22, 2011 Thread starter #4 Thank you! Both of you were very helpful. Upvote 0 Downvote