AnsweredAssumed Answered

Getting parent id of radio button or a check box

Question asked by samirgambhir on May 9, 2012
Latest reply on May 29, 2012 by samirgambhir
Hi,
I am trying to get the parent id of the selected radio button or checked check box. I am using ArcGIS 10.0 with JavaScript API.
My button/check box are nested in a div. Is it possible to get the id of each level of parentNode?  e.g.
<div id"someDivId">
<table id="someTableId">
<tr id="someTRId">
<td id="someTDId">myTd</td>
<td><input data-dojo-type="dijit.form.RadioButton" id="checkTDId" /></td>
</tr>
</table>
</div>

Also, once the radio button is selected, how do I get the id and/or the displayed value of the sibling td?
Thanks for your help,
Samir

Outcomes