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
LVL 2
BILL CarlisleAPEX DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dgrafxCommented:
it looks like some missing punctuation:

$('#report_APP_ID table tr input[value="'+app_id+'"]').parent().parent().children().css('background','#3399FF');
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.