I am having problem with a list box. Here is the JS
Notice variable sa is set to a blank option and yet, this option is does not show. The first option is "HEAD OF CORP./ENTITY" ...
I need that blank option ... I have spent all day trying to solve this one and cannot come up with a solution.
Please help, I am going crazy!
Thanks,
Jose
Code:
var sa = '<SELECT NAME="title" id="titleID" onMouseOver="CheckEntityType()" onFocus="CheckEntityType()">';
var sb = '<OPTION VALUE=" "> </OPTION>';
var sb = '<option value="HEAD OF CORP./ENTITY">HEAD OF CORP./ENTITY</OPTION>';
var sc = '<option value="VICE PRESIDENT OF CORP./ENTITY">VICE PRESIDENT OF CORP./ENTITY</OPTION>';
var sd = '<option value="SECRETARY OF CORP./ENTITY">SECRETARY OF CORP./ENTITY</OPTION>';
var se = '<option value="ASSISTANT SECRETARY">ASSISTANT SECRETARY</OPTION>';
var sf = '<option value="TREASURER">TREASURER</OPTION>';
var sg = '<option value="ASSISTANT TREASURER">ASSISTANT TREASURER</OPTION>';
var sh = '<option value="GENERAL MANAGER">GENERAL MANAGER</OPTION>';
var si = '<option value="REGISTERED AGENT FOR SERVICE OF PROCESS">REGISTERED AGENT FOR SERVICE OF PROCESS</OPTION>';
var sj = '</SELECT>';
document.getElementById('p2sbox').innerHTML = sa + sb + sc + sd + se + sf + sg + sh + si + sj;
}
Notice variable sa is set to a blank option and yet, this option is does not show. The first option is "HEAD OF CORP./ENTITY" ...
I need that blank option ... I have spent all day trying to solve this one and cannot come up with a solution.
Please help, I am going crazy!
Thanks,
Jose