title: Copy value of one textbox to another using jQuery
body: <p>i just want to paste the content of one textbox to other when i click the button u . but it is not showing. </p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;script src="jquery_min.js"&gt;
  &lt;/script&gt;
  &lt;script&gt;
  $(document).ready(function(){
  $("#button").click(function(){
  var ravi=$("#text").val();
   $("$text1").val(ravi);
   });
   });
   &lt;/script&gt;
  
   &lt;/head&gt;
    &lt;body&gt;
   &lt;input type="text" value="ravi" id="text"&gt;
   &lt;input type="text" id="text1"&gt;
   &lt;input type="button" value="u" id="button"&gt;
    &lt;/body&gt;
    &lt;/html&gt;
  </code></pre>