I use the below code to highlight a row on mouse over and reset it on mouse out. Now, when I click on a row, a hidden button is clicked, but I also want the highlighting to remain on the clicked row. If I comment the line where the hidden button is clicked, the highlighting is retained. But if it is uncommented, the highlighting disappears and focus moves to the top of the datatable.
I need to use onmouseover, onmouseout functions in jsf datatable. I wrote a code for identifying the rows like tableObj.getElementsByTagName('tr'). But, it doesn't take the style sheet functions. Can you help me how to implement this?
I need to implement onmouseover, onmouseout functions in jsf datatable. I wrote code for iterating the rows inside the datatable. But, it doesn't accept the stylesheet functions inside the script. Can you help me to solve this issue?