Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6153829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:09:27+00:00 2026-05-23T20:09:27+00:00

I am trying to debug my jQuery(Tools) script that is not working on IE.

  • 0

I am trying to debug my jQuery(Tools) script that is not working on IE. An example can be found here:

http://dl.dropbox.com/u/16799097/www/demo/jQuery_Slider/index.html

It loads correctly, the first (sliding) event occurs, and then nothing append.

When I try to debug my script by reloading the page with the developer-tools (press the F12 key), everything works like a charm … What can I do if I cannot debug ?

Any help would be appreciated, I am stuck …

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T20:09:28+00:00Added an answer on May 23, 2026 at 8:09 pm

    The error is (in slider.js):

    'console' is undefined
    

    The console object is only defined in IE when you open the Developer Tools. Then, there’s no longer a JavaScript error and everything works.

    To fix the problem, you can either remove/comment out the console.log call, or add something like this as your very first block of JavaScript:

    // make it safe to use console.log always
    (function(b){function c(){}for(var d="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info, log,markTimeline,profile,profileEnd,time,timeEnd,trace,warn".split(","),a;a=d.pop();)b[a]=b[a]||c})(window.console=window.console||{});
    

    (snippet taken from http://html5boilerplate.com/)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to debug an ActiveResource call that is not working. What's the
I am trying to use the autocomplete script on http://www.devbridge.com/projects/autocomplete/jquery/ . Now, the downloaded
I've been working with these 2 Jquery files for a while, trying to debug
The page having problems is... http://schnell.dreamhosters.com/index.php?page=gallery# I use Firebug to debug my jQuery and
I'm trying to debug some code that another developer wrote in jquery since page
I am trying to debug an existing app that uses jquery. I'm trying to
I am trying to use this plugin: http://docs.jquery.com/Plugins/Validation Where #user_new is the id for
I am trying to debug a strange issue with users that have LogMeIn installed.
I'm trying to debug into a C dll that is invoked on a Windows
I'm using .live() , and I'm trying to debug a weird error where jQuery

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.