Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

div tag problem...

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 ...

Go Back   Geeks Talk > Web Development > JavaScript
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 01-10-2007
Contributing Member
 
Join Date: Sep 2006
Location: bangalore, india
Posts: 1,016
Thanks: 0
Thanked 91 Times in 72 Posts
psuresh1982 will become famous soon enough
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.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-03-2007
Junior Member
 
Join Date: Nov 2006
Location: Bangalore
Posts: 26
Thanks: 2
Thanked 6 Times in 4 Posts
TigerElango is on a distinguished road
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.


the details......


and it worked for fine for me......so try this......

hope this would be useful for u....
Reply With Quote
  #3 (permalink)  
Old 02-03-2007
Junior Member
 
Join Date: Nov 2006
Location: Bangalore
Posts: 26
Thanks: 2
Thanked 6 Times in 4 Posts
TigerElango is on a distinguished road
Re: div tag problem...

sorry this is the html part code......
img src="" onclick="showHide('tab1')" --image tag

table id="tab1"
the details......
/table
Reply With Quote
  #4 (permalink)  
Old 02-03-2007
Contributing Member
 
Join Date: Sep 2006
Location: bangalore, india
Posts: 1,016
Thanks: 0
Thanked 91 Times in 72 Posts
psuresh1982 will become famous soon enough
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
Reply With Quote
Reply

  Geeks Talk > Web Development > JavaScript

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

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


All times are GMT -4. The time now is 07:57 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved