-
Contributing Member
div tag problem...
In my web page i am using one contact form. In that form i want to hide some rows initially. I am using the div tag. But the particular rows still displayed. I am using the following tag. div id="hide" style="display:none".
I don't know why this is not working ? can anyone knew the answer ?
----------------
suresh
Last edited by psuresh1982; 01-11-2007 at 07:32 AM.
-
Junior Member
Re: div tag problem...
i had the same situation, ie to hide the details by clicking on the image......for that i have used the table which has the details.......
function showHide(id)
{
obj=document.getElementById(id);
obj.style.display="none";
}
is the javascript code.
and it worked for fine for me......so try this......
hope this would be useful for u....
-
Junior Member
Re: div tag problem...
sorry this is the html part code......
img src="" onclick="showHide('tab1')" --image tag
table id="tab1"
the details......
/table
-
Contributing Member
Re: div tag problem...
hi elango,
Thanks for your reply. I know if we using the table its working fine. Here i have 10 rows. i want to hide these rows according to the selection of select box. That's why i want to hide particularly the rows. Because if i use 10 tables for 10 rows then it looking very poor coding. That's why i need a help.
Anyway thanks for your information...Expect a good posts from you.
----------------
suresh
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules