Hide A Table

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Steve Bishop

    #1

    Hide A Table

    I would like to hide a table based on a fields value that is outside the
    table. Does anyone have an example of this?
    Help appreciated.

    Steve



    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
  • KC Wong

    #2
    Re: Hide A Table

    > I would like to hide a table based on a fields value that is outside the[color=blue]
    > table. Does anyone have an example of this?
    > Help appreciated.[/color]

    Use the onchange handler of the field to trigger the script which set the
    table's style, i.e.

    document.getEle mentById("myTab le").style.disp lay = "none"; // Set to "" to
    display normally
    .......
    <table id="myTable">
    .......


    HTH,

    KC


    Comment

    Working...