Link to home
Start Free TrialLog in
Avatar of BILL Carlisle
BILL CarlisleFlag for United States of America

asked on

Works fine in Chrome but not in Firefox

Hi, I have the below code that works fine in Chrome to highlight the selected/clicked item but doesn't highlight it in Firefox.
any ideas why?

$(document).ready(function() {
   var app_id = $('#P0_MY_ID').val();
   $('#report_APP_ID table tr input[value="'+app_id+'"').parent().parent().children().css('background','#3399FF')
   $('#report_APP_ID table tr').click(function() {
      var hiddenVal = $('input[name=f23]', this).val();
      window.location = 'http://mydomain:6767/ords/f?p='+$v('pFlowId')+':2:'+$v('pInstance')+':::2:P0_MY_ID:' + hiddenVal;
   });
});

Open in new window


when the user clicks on the row of the table it redirects to the same page and sets the variable that I use to highlight the clicked row.
Is there a better way that allows FF to work also?
Thanks, Bill
ASKER CERTIFIED SOLUTION
Avatar of dgrafx
dgrafx
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial