Hi,
This is sravan.
I want a code for the retrieving same selection when we enter the same text in the textbox.
For example i have text box along with few checkboxes in a row. I selected a checkbox and enter the text in a textbox, when i remove it the checkbox should be deselected and when i enter text again in text box, the same checkbox should be selected. Please help me for this functionality.Below is the html code for sample.
<html>
<head>
<title>sample page</title>
</head>
<body>
<table>
<tr>
<td width="46%">
<div>Other (Please specify)<input type="text" class="open_end_text_box text_input" name="CC2_r14_other" maxlength="100" id="CC2_r14_other" autocomplete="off" style="resize: none;"></div></td>
<td width="9%" nowrap="" style="width: 8%;">
<input name="CC2_r14_c1" value="1" type="checkbox" id="CC2_r14_c1" autocomplete="off"></td>
<td width="9%" nowrap="" style="width: 8%;">
<input name="CC2_r14_c2" value="1" type="checkbox" id="CC2_r14_c2" autocomplete="off"></td>
<td width="9%" nowrap="" style="width: 11%;">
<input name="CC2_r14_c3" value="1" type="checkbox" id="CC2_r14_c3" autocomplete="off"></td>
<td width="9%" nowrap="" style="width: 8%;">
<input name="CC2_r14_c4" value="1" type="checkbox" id="CC2_r14_c4" class="HideElement" autocomplete="off"></td>
<td width="9%" nowrap="" style="width: 11%;">
<input name="CC2_r14_c5" value="1" type="checkbox" id="CC2_r14_c5" autocomplete="off"></td>
<td width="9%" nowrap="" style="width: 8%;">
<input name="CC2_r14_c6" value="1" type="checkbox" id="CC2_r14_c6" autocomplete="off"></td>
</tr>
</table>
</body>
</html>