There's a table to display data from XML using jQuery AJAX and I want to change the text and background's color on hover and click.

First time, when document ready, it requested data and received data.xml. The data displayed. The color changed.Second time, when I click a button (RELOAD Button), it requested data and received data2.xml, the data displayed correctly. BUT..the color wont change.

It used different data source (data.xml and data2.xml) and different function (display_data(), parse_data(), and reload_data(), parse_new_data() ) just to make debugging more easy.