javascript emptyCells property
Translation results:
empty
English [ˈempti] American [ˈɛmpti]
adj. Empty, empty, empty; idle, ineffective, futile; Boring, stupid; empty words or actions
vt. (to make) empty, to empty out; to free up...
vi.Become empty; flow empty
n. Empty car; empty thing
Third person singular: empties Plural: empties Present participle: emptying Past tense: emptied Past participle: emptied Comparative: emptier Superlative: emptiest
cells
UK['selz] US['selz]
n.Battery;<生>cell (plural noun of cell); small cell; small room where monks or nuns live
javascript emptyCells propertysyntax
Function:Set whether to display empty cells in the table (only for "separate border" mode).
Syntax: Object.style.emptyCells=hide|show
javascript emptyCells propertyexample
<html> <head> <script type="text/javascript"> function showEmptyCells() { document.getElementById('myTable').style.emptyCells="show" } </script> </head> <body> <table border="1" id="myTable"> <tr> <td>100</td> <td>200</td> </tr> <tr> <td>300</td> <td></td> </tr> </table> <input type="button" onclick="showEmptyCells()" value="Show empty cells"> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance