Edit: Bah, I hate spelling mistakes. Make that "javascript" in the subject
I have a page with some dropdowns that I want to fill with the current date on page load of the htmlpage.
The code to do so is:
//populatedropdown(id_of_day_select, id_of_month_select, id_of_year_select)
window.onload=function(){
populatedropdown("daydropdown", "monthdropdown", "yeardropdown")
}
However, it doesn't appear to be working and I don't think it's the script. The htmlpage parses the quotes in the script to be " so I'm thinking that might have something to do with it.
Is this the case? And if so is there any way I can prevent this?
edited by: veinoM, Dec 21, 2007 - 03:31 PM