Prepare for your Next Interview
This is a discussion on div tag problem... within the JavaScript forums, part of the Web Development category; 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 ...
|
|||
|
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. |
| Sponsored Links |
|
|||
|
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.... |
|
|||
|
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 |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem in Decryption | ramamaru | Windows | 2 | 10-13-2008 10:19 AM |
| money problem.... | psuresh1982 | Brainteasers | 3 | 01-09-2007 06:45 AM |
| Problem for my post.... | psuresh1982 | Suggestions & Feedback | 1 | 12-14-2006 04:32 AM |
| One more Mathematical problem..? | psuresh1982 | Brainteasers | 2 | 11-17-2006 07:13 AM |
| Postman problem. | jamesravid | Brainteasers | 4 | 11-13-2006 01:04 AM |