delphi programming forums mysql charset mget recursive synonimos
free ventrilo servers hosting cs javascript delay python find in list
Back Forum New
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:
  1.     if (document.getElementById('FIELDNAME').value=='') {
  2.         document.getElementById('ID_OF_TABLE').style.display='none';
  3.     }
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



TOP

Back Forum