Radio button to populate text fields
<p><br>
I'd the foll. requirement for one of my web applications:  </p>

<p>In my HTML table, some of the columns require user input as textfields.
Next to the text field, I wanted to have a radio button on each row which populates rows meeting certain criteria in my table.  </p>

<p>Here's my code  </p>

<pre><code>   &lt;td&gt; &lt;input type="text" id="newContact&lt;%=rCount %&gt;" name="newContact"&gt;
   &lt;br&gt;
   &lt;input type="radio" id="applyNewContact&lt;%=rCount %&gt;" name="applyNewContact" onchange=..some js function here..&gt;     
   &lt;label for="applyNewContact&lt;%=rCount %&gt;"&gt;Apply Contact to all cases @Inst.ID&lt;/label&gt; 
   &lt;/td&gt;
   &lt;td align="center"&gt; &lt;input type="text" id="newContactPhone&lt;%=rCount %&gt;" name="newContactPhone"&gt;&lt;/td&gt;
   &lt;td align="center"&gt; &lt;input type="text" id="newContactEmail&lt;%=rCount %&gt;" name="newContactEmail"&gt;&lt;/td&gt;
</code></pre>

<p>So, if radio button on row 1(with id applyNewContact0) was checked, then I wanted to populate all rows(only their newContact, newContactPhone, newContactEmail) with Inst.ID(one of my tables columns) same as row1</p>

<p>How would I go about doing this using jQuery or Javascript? </p>

<p>Thanks,<br>
Pritish</p>
