임베디드 | 라즈베리파이 | ARM | 리눅스 | Qt | 딥러닝


<script>

$(document).ready(function() {    

$(".get_comp").bind("click",function(){   

 

}) 


 

$( "#foo" ).bind( "click", function() { 

    what_company = $('.where_call').val(); 

   var whatcomp = what_company;  

   alert(what_company);


   alert( $( this ).text() );

});

});

 

</script>




<input name="where_call" class="where_call"  type="text" value="input 값"/>

<button id="foo">버튼</button>