Sign in | Join
Last post 05-16-2008 10:16 PM by dits59. 6 replies.
Sort Posts: Oldest to newest Newest to oldest
Hi All,
I am writing one javascript function to make visible true/false of one textbox when onclick of checkbox It is working fine in IE but it is not working in Mozilla.
Here is my code..
txt_grd.visibility="hidden"
Any help plz...........
Thanks.
Take a look at workaround in http://www.webdeveloper.com/forum/archive/index.php/t-63381.html
i believe visibility=hidden is DHTML CSS property..why u applied like so in JS.it works only in IE and Netscape.
if ur looking for JS code.then just set the style attributes display:none;
Yep I fully agreed.
Exactly that is mentioned in the above provided link
HI,
Many many Thanks for ur Answer............
hi
i have written code
if document.getelementbyid("txtName").value=="")
{
objFirstName.focus();
}
It is working fine in IE but in mozila it is not working.Please help me its urgent.
do rem that JS is case sensitive
its ElementById