»
EnglishFrenchVietnamese

Print - Faking text area - JavaScriptBank.com

Full version: jsB@nk » Funny » Faking text area
URL: https://www.javascriptbank.com/fake-textarea.html

Faking text area © JavaScriptBank.comType in textarea and see. Yeah!

Full version: jsB@nk » Funny » Faking text area
URL: https://www.javascriptbank.com/fake-textarea.html



JavaScript
<script language="javascript"><!-- done by JOHN CHACKO-  [email protected]!>status="john chacko !!!!!"var a=new Array(),n=""a[1]='I';a[2]=' ';a[3]='A';a[4]='M';a[5]=' ';a[6]='A';a[7]=' ';a[8]='F';a[9]='O';a[10]='O';a[11]='L';a[12]=' ';a[13]=' ';a[14]='?';function one(){t=document.f.txt.valuej=t.lengthif(j>0){for(var i=1;i<=j;i++){n=n+a[i]if(i==14){document.f.txt.value=""n=""}}}document.f.txt.value=nn=""setTimeout("one()",1)}function s(){alert("Sorry.............. This is just for a fun....")}function on(){alert("Wait till the page is fully loaded..")one()}</script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<body onLoad="on()" onUnLoad="s()"><B><font size=+2>TYPE SOMETHING ABOUT YOU IN THE TEXTAREA!!!!!!</CENTER><br>(please remember onething; type only after the page is fully loaded)</font></B><font size=+2><form name=f><CENTER><textarea name=txt cols=20 rows=5></textarea></form></body><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->