Hi, i'm trying to set a dropdown menus value on page load by doing this:

document.formedit.gigday.value = "<?php echo $gigday ?>";

I've echoed $gigday and it does contain a value but the menus value is not changing. When I view the javascript error it says "'document.formedit.gigday' is null or not an object". I cant figure out why its not being set.

Anyone got any suggestions please?? thanks BIOSTALL