Tuesday, November 18, 2008

Drop Down List

//set the particular dropdown list based on index
document.forms["SchedulerForm"].elements["time_1hr"].options[0].selected=true;

//get the index selection from the drop down element
index=document.forms["AssetShareForm"].elements["userEmailAdd"].selectedIndex;

No comments: