Devam Ediyor

477809 Javascript Table Row Selection Issue

I need help with a javascript issue involving the onmouseover, onmouseout, onclick events for rows in a table. There are 2 js functions - one for the onmouseover and onmouseout to change the background color for the row when hovering and another for the onclick to change the background color upon selection. The onclick function resets the background color to the original color for all cells in every row and sets the background color of the row selected to a specific color to indicate it has been selected. However, after the onclick function, the onmouseover and onmouseout no longer work.

I have extracted the table and the js functions into the files attached. The table is taken from an rhtml file but can easily be constructed in a straight html or php file.

Do you know why this is happening & how to fix it?

Beceriler: Her şey Kabul, Javascript, PHP

Daha fazlasını görün: selection, issue, html issue fix, upon javascript, html table fix, html cells, change javascript, html table javascript, table javascript, background color javascript, html issue, onmouseover onclick onmouseout, javascript background color, issue javascript, javascript issue, html javascript php work, table javascript html, php table color row, php javascript table, javascript help file, javascript functions, onmouseover onmouseout onclick function, javascript onclick onmouseover, onclick onmouseover, row selected

İşveren Hakkında:
( 81 değerlendirme ) West Palm Beach, United States

Proje NO: #2223716