joefromsansnite

Untitled

Aug 19th, 2020
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 0.57 KB | None | 0 0
  1. <!DOCTYPE html>
  2.  
  3. <html>
  4.  <head>
  5.    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
  6.    <title>Henlo</title>
  7.  
  8.  </head>
  9.  
  10.  <body>
  11.    <input id="ha" type="number"/>
  12.    <input type="button" id="lol" value="lol"/>
  13.    
  14.    <script>
  15.       $(document).ready(function(){
  16.          $("#lol").on("click",function(){
  17.              var lmao = Number($("#ha")[0].value)
  18.              for(i_=0;i_<lmao;i_++)
  19.              {
  20.                   document.write("lol\n")
  21.              };
  22.          })
  23.       })
  24.    </script>
  25.  </body>
  26.  
  27. </html>
Add Comment
Please, Sign In to add comment