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 ...
The error is (in
slider.js
):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:(snippet taken from http://html5boilerplate.com/)