dynamic tables

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

    dynamic tables

    Is it possible to make table rows visible/unvisible by javascript.
    If the answer is yes, can someone give me a working example

    Many thanks in advance

    Richard


  • Marek A. Stepien

    #2
    Re: dynamic tables

    Richard wrote:[color=blue]
    > Is it possible to make table rows visible/unvisible by javascript.
    > If the answer is yes, can someone give me a working example[/color]

    HTML:

    <table>
    <tr id="aRow"><td>a aa</td><td>bbb</td></tr>
    </table>

    and in JS:

    document.getEle mentById("aRow" ).style.display ='none';

    --
    | Marek A. Stepien | marcoos dot org | Linux user #153004 |
    | Powered by Mozilla Thunderbird. Your mail, your way. |

    Comment

    Working...