How would I change var day = parseInt(x[name+"_DD"].options[x[name+"_day"].selectedIndex].value); in order to do this?
Do you want read values from text box? If yes:
var day = parseInt(document.formname.textboxname.value);
replace formname and textboxname with your form and text box names
Joined: Feb 02, 2006
Shoulda mentioned, I can't do a getByElementID (or Name for that matter). I have to check several different pages, and I cannot set the ID/Name (thanks netui ). Also, on one of the pages, there will be multiple sets of dates, so I'll have to write a loop.
I could use Prototype to getByClassName I think, but this would still cause me trouble on the page with the multiple dates.
I'm really going beyond my skills at this point, so I'm really unsure of how to procede . . . but that's how we grow.