.tableLight { background-color: #32375D; color: #FFFFFF; }
And I have JavaScript file with this content:
- $(document).ready(function () {
- $('#moto_table tbody tr').toggle(function () {
- $(this).addClass(".tableLight");
- }, function () {
- $(this).removeClass(".tableLight");
- });
- });
After running this code, my table is hidden, why,I did not click on the text in these rows of the table?