Advertisement
RieqyNS13

Untitled

Jun 10th, 2014
340
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.52 KB | None | 0 0
  1. <html>
  2. <head>
  3. <script type="text/javascript">
  4. function cek(){
  5.     var a=document.homo.txupdate.value;
  6.     if(a==''){
  7.         document.homo.gay.innerHTML='Masukkan text dulu -_-';
  8.         return false;
  9.     }else{
  10.         document.homo.gay.innerHTML="";
  11.         return true;
  12.     }  
  13. }
  14. </script>
  15. </head>
  16. <body>
  17. <form action="#" method="post" name="homo" onSubmit="return cek()">
  18. <textarea name="txupdate" rows="6" cols="45" placeholder="masukkan text"></textarea><br>
  19. <input type="submit" name="btnsubmit1"><div name="gay"></div>
  20. </form>
  21. </body>
  22. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement