I am having problems with this:
in that it doesnt substitite the value for day_time, rather just uses the string 'day_time'.
(day_time is of the form "monday.am" which is also the NAME of a particular checkbox in my form.
Can anyone help me please! Thanks.
Code:
var day_time = (dayOfWeek+'.'+t); if(!document.myForm.day_time.checked) {alert("ARGH");}
(day_time is of the form "monday.am" which is also the NAME of a particular checkbox in my form.
Can anyone help me please! Thanks.
Comment