Trying to develop for M$IE has always been a struggle, and especially when attempting to debug Javascript. IE has always had error messages which do not effectively describe the situation, and has classically had very few tools to help diagnose the error. I have recently discovered that there is a script debugging tool that M$ has offered for free with anyone who has a valid copy of windows. The script debugger is available for download at here. There are also inconsistencies with how code is written, following here is an example of one major error I found:
if you create an object in javascript ex:
var something = {
item1 : “value1”,
item2 : “value2”,
item3 : “value3”
};
You can’t have a trailing comma on “value3” otherwise IE7 will through an error which doesn’t make sense based off the message but it is basically a compile error. |
|||
Very good post, thanks a lot.
Very good post, thanks a lot.
Post new comment