title: Setting value of a text using name of another checkbox in jquery
body: <p>I have two object in my screen one check box and a text box.</p>
  
  <p>check box name and id is '105'</p>
  
  <p>I have taken its name as </p>
  
  <pre><code>var chk_name = document.getElementsByName('105');
  </code></pre>
  
  <p>text box name is dynamically created and is 'text_105'.</p>
  
  <p>I tried below code to set the value of text box. Which is not working</p>
  
  <pre><code>$('#text_'+chk_name[0].name).val(chk_name[0].name); 
  </code></pre>
  
  <p>expect value of textbox text_105 as 105</p>