how do i get javascript to tell me the value of a radio button in a form?
the form is called dates:
the form is called dates:
Code:
<script language="javascript">
function test(){
alert(document.dates.start_day.value); //returns "undefined"
alert(document.dates.start_day); //returns "[object]"
}
</script>