hi all,
i have this code :
<SCRIPT event=onload for=window language=javascript>
radio_Company.style.visibility="hidden";
radio_People.style.visibility="hidden";
function sel_type() {
if (radio_Company.style.visibility=="hidden"{
radio_Company.style.visibility="visible";
}else{
radio_Company.style.visibility="hidden";
}
}
</SCRIPT>
<A class="TD" href="" onclick="sel_type(); return false">Company</a></div>
<div id=radio_Company>
<input type="radio" name="sel_type" value="customer" >Customer<br>
<input type="radio" name="sel_type" value="freelance" >Freelance<br>
<input type="radio" name="sel_type" value="agency" >Agency<br>
<input type="radio" name="sel_type" value="vendor" >Vendor<br>
<input type="radio" name="sel_type" value="other_comp" >Other<br></div>
i can't see where is the bug.. it might be a stupid syntax problem or something like this but as laways, the stupidest error are the less visible ...
any help would be appreciated
Best regards X-),
Elise
i have this code :
<SCRIPT event=onload for=window language=javascript>
radio_Company.style.visibility="hidden";
radio_People.style.visibility="hidden";
function sel_type() {
if (radio_Company.style.visibility=="hidden"{
radio_Company.style.visibility="visible";
}else{
radio_Company.style.visibility="hidden";
}
}
</SCRIPT>
<A class="TD" href="" onclick="sel_type(); return false">Company</a></div>
<div id=radio_Company>
<input type="radio" name="sel_type" value="customer" >Customer<br>
<input type="radio" name="sel_type" value="freelance" >Freelance<br>
<input type="radio" name="sel_type" value="agency" >Agency<br>
<input type="radio" name="sel_type" value="vendor" >Vendor<br>
<input type="radio" name="sel_type" value="other_comp" >Other<br></div>
i can't see where is the bug.. it might be a stupid syntax problem or something like this but as laways, the stupidest error are the less visible ...
any help would be appreciated
Best regards X-),
Elise