I have this HTML code, and I want to remove part of the onclick
events (the part after the ;
). How should I do this?
I already got the object in an array:
document.getElementById(labels[i].htmlFor)
HTML:
<td valign="top" nowrap="nowrap">
<input id="ui_cbSubParam_LimitsColumnsTo" type="checkbox" name="ui_cbSubParam_LimitsColumnsTo" checked="checked" onclick="ControlConditionalEnable23(true);setTimeout('__doPostBack(\'ui_cbSubParam_LimitsColumnsTo\',\'\')', 0)" />
<label for="ui_cbSubParam_LimitsColumnsTo">Use Default</label>
</td>