8 Replies Latest reply: Jan 9, 2014 7:47 AM by nbyrne76 RSS

    Highlight row not working after dynamic refresh



      Application Express

      Hoping someone can help with this. I have a report (list of loans for a person) that gets dynamically refreshed when the account number changes. The loan id column is a link that when clicked fires a dynamic action that uses javascipt to highlight the current row


      $('.highlight-row').removeClass ('highlight-row');

      $(this.triggeringElement).parent().parent().children().addClass ('highlight-row');


      This works fine first time around however if the loans region is refreshed the javascript stops working and the current row is not highlighted.