simon551
IS-IT--Management
- May 4, 2005
- 249
Hi, I'm trying to modify some javascript that I downloaded from formassembly.com and I just want to figure out what I'm doing wrong; whether I have the right syntax, before I go bugging the creators about their part of the code (not shown). Thanks in advance!
This is my code:
This is my code:
Code:
var field1 = document.getElementById('hours');
var field2 = document.getElementById('minutes');
if(field1.value == ""){
if(field2.value == "")
{
// do something
}
}