Menu
lol I asked the wrong question in my last post…lol
Here is what I’m really looking for:
[CODE] function checkbox(i) {
var time = new Date();
var hours = time.getHours();
var minutes = time.getMinutes();
if (document.form.check_i.checked == true) {
document.form.text_i.value = hours + “:” + minutes;
} else if (document.form.check_i.checked == false) {
document.form.text_i.value = “”;
}
}
You can see text_i and check_i. I need the ‘i’s to be replaced with the value of ‘i’. Is there a way to do that?