Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    hide and show of the cells in a table using javascript

    Hi friends,

    I have a query regarding the hide/show of the cells in a table.

    The first column is 'Yes and No' options using combo box, 2nd option is 'input field', 3rd column is also 'Yes and No' option using combo box, and 4th option is also 'input field'.

    What I want is to make a table using JAVASCRIPT, in which if i select 'No' from the first row first column, i want to hide the remaining 3 cells of the first row. Otherwise if i select 'yes' from the first row first column i want to show all the 3 other options of the first row. Also in between if I select 'No' from the first row third column i want to hide the first row fourth column cell. Selecting 'yes' from the first row third column will show the first row fourth column.

    I want apply the same setting of hide and show cells into the remaining columns also.

    By selecting 'no' from first column -> hide other corresponding cells of the row
    by selecting 'yes' from the first column -> show other corresponding cells of the row

    AND ALSO

    By selecting 'no' from third column -> hide fourth cell of the corresponding/same row
    by selecting 'yes' from the third column -> show fourth cell of the corresponding/same row


    I have posted this question in the tablular form, but it is now showing in the proper format. Anyone in the rum please help me to make this table using JAVASCRIPT. I need this table within a day or two.

    Waiting for someone's reply.

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,079
    Thanks
    203
    Thanked 2,542 Times in 2,520 Posts
    See:- http://www.codingforums.com/showthread.php?t=17515.

    You will not get any reply in this forum which is intended to be used only to
    post a completed (working) script for showcasing/benefit of others.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •