How to display or unhide hidden table rows and hide or toggle a table row using Javascript functions
Here is a sample table below which has a hidden table row. To unhide the hidden table row you can click on the text message "Click here to display hidden table rows using javascript". When you click on the message the onClick method of the input html element will trigger the displayHiddenRows() javascript function which includes the sample javascript code to display the hidden rows in the table.
This table row will be hidden by using javascript function HideDisplayingRows() |
This table row is going to toggle between hidden and displayed properties by using javascript function ToggleDisplayHideRows() |