I have wrote the following code, but nothing is happening when i click on the drop down list, when i try to debug it the function onSelectionChanged does not get fire at anytime when i am making changes to the dropdown list. Please advice ...
function pageLoad()
{
$addHandler($get('<%=drTstAccUsedDropDownList.ClientId %>' ), 'onchange', onSelectionChanged);
}
function pageunload()
{
$removeHandler($get('<%=drTstAccUsedDropDownList.ClientId %>' ), 'onchange', onSelectionChanged);
}
function onSelectionChanged(evt)
{
var obj = $get('<%=drTstAccUsedDropDownList.ClientId %>');
if(obj.value == 'Yes')
{
$get('<%=drDisAudioTpCheckBox.ClientId %>').disabled = true;
}
}
Thanks
Kabir