Hi
Sidney
This might solve your problem.
<script language='JavaScript'>
function onLoadHideTxt()
{
txtboxid.style.display='';
}
function onChkBoxChkShowTxt(a)
{
if(a.checked)
{
txtboxid.style.display='';
}
else
{
txtboxid.style.display='none';
}
}
</script>
<HTML>
<BODY onLoad="onLoadHideTxt()">
<form>
<input type=checkbox name=chk1
onclick="onChkBoxChkShowTxt(this)">
<input type=text id='txtboxid' style='display:none'>
</form>
</BODY>
</HTML>
Just copy above code and test it.
It will solve your problem it think..
C.U.
Narahari Ankam
--- "Sidney James P. Fuerte" <fuertsj1104@y...>
wrote:
> Hi all,
>
> Is it possible to hide an Input Type Text without
> using layers? I have a
> form which has lots of options, I want some text box
> to be invisible on
> load and when you check a checkbox I wan it to
> appear, I dont want to use
> Layers if possible.
>
> Thanks/Regards
> sidney
>
> ---
>
> Improve your web design skills with these new books
> from Glasshaus.
>
> Usable Web Menus
>
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
> r-20
> Constructing Accessible Web Sites
>
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
> r-20
> Practical JavaScript for the Usable Web
>
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
> r-20
__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/