M
marksmith5555
I am writing a few scripts, primarily using firefox, with firebug
debugging is easy.
However when I try to run the script on IE7. I get the very unhelpful
error:
"Unknown runtime error": Line 38.
Line 38 doesn't even contain any javascript!!
After inserting lots of alert statements, I've tracked the error down
to this line of code:
cbs.innerHTML='<img src="../images/checkfalse.png"
onclick="checkBoxClick(this);" id="checkbox'+i+'" ><br>';
This works without problems on firefox and safari.
So actually I have 2 questions:
1) Can you suggest any way to modify the above line to work on IE7?
2) Are there any good debuggers for IE (that give better errors, and
allow you to set breakpoints etc)?
Thanks
debugging is easy.
However when I try to run the script on IE7. I get the very unhelpful
error:
"Unknown runtime error": Line 38.
Line 38 doesn't even contain any javascript!!
After inserting lots of alert statements, I've tracked the error down
to this line of code:
cbs.innerHTML='<img src="../images/checkfalse.png"
onclick="checkBoxClick(this);" id="checkbox'+i+'" ><br>';
This works without problems on firefox and safari.
So actually I have 2 questions:
1) Can you suggest any way to modify the above line to work on IE7?
2) Are there any good debuggers for IE (that give better errors, and
allow you to set breakpoints etc)?
Thanks