Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <script type="text/javascript">
- function cek(){
- var a=document.homo.txupdate.value;
- if(a==''){
- document.homo.gay.innerHTML='Masukkan text dulu -_-';
- return false;
- }else{
- document.homo.gay.innerHTML="";
- return true;
- }
- }
- </script>
- </head>
- <body>
- <form action="#" method="post" name="homo" onSubmit="return cek()">
- <textarea name="txupdate" rows="6" cols="45" placeholder="masukkan text"></textarea><br>
- <input type="submit" name="btnsubmit1"><div name="gay"></div>
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement