How do you call a prompt on page load with jquery?

I cant seem to figure it out. This is what I have so far:

 <head>
  
  <script src="jquery-3.5.1.min.js"></script>
    var gamerName
    
    <script>
      $(document).ready(function(){
        gamerName = prompt("Please enter your name."," ");
    });
      
</script>  
    
    
  </head>

237 thoughts on “How do you call a prompt on page load with jquery?”

  1. Pingback: nerd dating gay
  2. Pingback: baricitinib eua
  3. Pingback: tamoxifen brand
  4. Pingback: tizanidine 122
  5. Pingback: tamoxifen ca
  6. Pingback: monulpiravir

Leave a Comment