How to get td values on radio button selection using jquery?
<p>I have this div below, where on selection of <code>CFGID</code> radio button I should be able to get the same rows values. eg: <code>testDev</code>, <code>indi</code> etc values</p>

<pre><code>&lt;div id="updateFormDiv"&gt;
        &lt;table class="tableForms"&gt;
            &lt;tbody&gt;
                &lt;tr&gt;
                    &lt;th class="tableHeading"&gt;&lt;/th&gt;
                    &lt;th class="tableHeading"&gt;Name&lt;/th&gt;
                    &lt;th class="tableHeading"&gt;Host Name&lt;/th&gt;
                    &lt;th class="tableHeading"&gt;Description&lt;/th&gt;
                    &lt;th class="tableHeading"&gt;Type&lt;/th&gt;
                    &lt;th class="tableHeading"&gt;Last Update Time&lt;/th&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td&gt;&lt;input type="radio" name="CFGID" id="CFGID" value="11579"&gt;&lt;/input&gt;&lt;/td&gt;
                    &lt;td&gt;testDev&lt;/td&gt;
                    &lt;td&gt;indi&lt;/td&gt;
                    &lt;td&gt;testDev&lt;/td&gt;
                    &lt;td&gt;Development&lt;/td&gt;
                    &lt;td&gt;Fri Apr 26 04:31:40 IST 2012&lt;/td&gt;                           
                &lt;/tr&gt;
            &lt;/tbody&gt;
        &lt;/table&gt;
    &lt;/div&gt;
</code></pre>

<p>So on button click I wrote this</p>

<pre><code>alert($("input[name='CFGID']:checked").next().text());
</code></pre>

<p>but it gives me empty. Please help me fetch each values. Thanks</p>
