I want to select a selection object programmatically. I have two radio buttons: single for a single date and range for a range of dates. When the user clicks a button, I want to programmatically select the single date radio button.
I currently have this code, but it doesn't seem to be working:
function today_onclick()
{
document.req_cdate.date[1].selected = "1"
}
I'm not getting a syntax error, it's just not doing anything.
Can anybody help me out here?
Thanks,
Ann