JavaScript Reference/Javascript Properties/rules
Содержание
"rules" Example
<source lang="javascript">
<html> <body> <script language="JavaScript">
function function1() { document.getElementById("myTable").rules = "all"; } function function2() { document.getElementById("myTable").rules = "cols"; } function function3() { document.getElementById("myTable").rules = "groups"; } function function4() { document.getElementById("myTable").rules = "none"; } function function5() { document.getElementById("myTable").rules = "rows"; }
</script>
Cell 1 | Cell 2 | Cell 3 |
Cell 4 | Cell 5 | Cell 6 |
<input type="button" value="rules = "all"" onClick="function1();"> <input type="button" value="rules = "cols"" onClick="function2();"> <input type="button" value="rules = "groups"" onClick="function3();"> <input type="button" value="rules = "none"" onClick="function4();"> <input type="button" value="rules = "rows"" onClick="function5();"> </body> </html>
</source>
"rules" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+
| Applied_To |