JSFiddle - React, Tailwind, and code Playground

by philll_t

HTML

<input type="text" id="urlcontain" value="" placeholder="enter url here"/>
<input type="button" id="send_url" value="submit" />

JavaScript

// bind clicking event
$("#send_url").click(function(){
    // fetch url value in field
 var url_value =   $("#urlcontain").val();

  
        // announce it
         alert(url_value);
   
      
    
   

});