By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,689 Members | 1,915 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,689 IT Pros & Developers. It's quick & easy.

IE error - expected id, string or number - FF error console shows nothing

P: 38
Hi Bytes,

Hope your day is going well and thank god it's Friday!

I've got an IE only error kicking my butt.

The java below is responsible for table row highlighting and a tool tip for one of the cells. Neither work in IE, but FF is fine.

Expand|Select|Wrap|Line Numbers
  1. $(document).ready(function() {
  2. $('.Login .Textbox').focus(function(){
  3.   $(this).attr('class', 'Hover');
  4. });
  5. $('.Login .Textbox').blur(function(){
  6.   $(this).attr('class', 'Textbox');
  7. });
  8. var loadImg = $('#loadImg');
  9. loadImg.show();
  10. var linResults = $('#entrytext');
  11. linResults.hide();
  12. loadImg.hide(1500);
  13. $("#entrytext").fadeIn(2000);
  14. $("tr:odd").addClass("highlight");
  15. $('tbody tr').hover(function(){
  16.  $(this).find('td').addClass('hovered');
  17. }, function(){
  18.  $(this).find('td').removeClass('hovered');
  19. });
  20. $('table:last td.wff').qtip({
  21. content: '1 = Movement and Maneuver<br /> 2 = ISR<br />  3 = Fires<br />  4 = Sustainment<br />  5 = C2<br />  6 = Protection',
  22.    show: 'mouseover',
  23.    hide: 'mouseout',
  24.    style: {
  25.       name: 'dark', // Inherit from preset style
  26.         border: {
  27.          width: 3,
  28.          radius: 8,
  29.          color: '#3F3F3F'
  30.                 },
  31.    }
  32. })
  33. });
  34.  
I'm hoping the error is something that jumps right out to an experienced coder, if not please let me know if I need to provide any more information regarding my question.

Also I wondered if the mix of apostrophes and quote marks is good, bad, or indifferent?

P.S. this stuff makes my newbie head hurt!!

Thanks in advance if you are able to help me understand the errors in my ways.

Respectfully,
Aaron
Sep 18 '09 #1
Share this Question
Share on Google+
1 Reply


P: 38
RESOLVED.

},

Removed that last comma and IE was happy.
Sep 18 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.