function Enable(obj,ctrl)
{
var DDL = document.all(obj.id);
var curText = DDL.options[DDL.selectedIndex].text;
if(curText=='--Select--')
document.getElementById(ctrl).disabled=true;
else
document.getElementById(ctrl).disabled=false;
}
Thursday, September 4, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment