469,289 Members | 2,100 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,289 developers. It's quick & easy.

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

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
1 2283
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.

Similar topics

6 posts views Thread by Peter Frost | last post: by
8 posts views Thread by Grant Richard | last post: by
7 posts views Thread by erin.sebastian | last post: by
1 post views Thread by Cory Koski | last post: by
reply views Thread by XML newbie: Urgent pls help! | last post: by
4 posts views Thread by XML newbie: Urgent pls help! | last post: by
1 post views Thread by CARIGAR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.