E
Eldon Ferran de Pol
Hi all,
Can anyone see what is wrong with this function. It's
being called by the OnClick of a radio button. For some
reason I can't access the options collection or any of the
Select's basic properties (e.g. type, name etc.). I've
tried access ddlMonEnd using this syntax as well as
GetElementByID and doc.frm.ddlMonEnd. None of them work
for me.
function SetWeekdayServiceTimes(intStartIndex,intEndIndex)
{
alert(document.getElementsByName
('ddlMonEnd').options.selectedIndex);
}
Can anyone see what is wrong with this function. It's
being called by the OnClick of a radio button. For some
reason I can't access the options collection or any of the
Select's basic properties (e.g. type, name etc.). I've
tried access ddlMonEnd using this syntax as well as
GetElementByID and doc.frm.ddlMonEnd. None of them work
for me.
function SetWeekdayServiceTimes(intStartIndex,intEndIndex)
{
alert(document.getElementsByName
('ddlMonEnd').options.selectedIndex);
}