abstract:
How or what do i do to allow for 3 (or multiple) fields?
This is doing my Head in
I know getElementById is most likely not the way to go as it only allows for one.
Thanks in advance for any help
Hey Guys,
I have a 'confirm' form that hides a table when a certain field contains a null value.
I actually need 3 fields to be null in order for the table not to show rather than one.
here part of the working code.
Code:- if (document.getElementById('FIELDNAME').value=='') {
- document.getElementById('ID_OF_TABLE').style.display='none';
- }
Copy Code How or what do i do to allow for 3 (or multiple) fields?
This is doing my Head in
I know getElementById is most likely not the way to go as it only allows for one.
Thanks in advance for any help
|