JQuery cross browser issues

I am completing a project where I used jQuery for the first time. I enjoyed working with the library and thought I realized that one of the benefits is cross-browser compatibility. I had an unpleasant surprise awaiting me when I started testing the site in IE6 and IE7, because in many cases JavaScript (which is not very complex) doesn't work.

Can anyone offer general comments on what jQuery does and doesn't do from a cross-browser perspective?

Any tips for debugging jQuery / JS in IE?

0


source to share


3 answers


I've seen very little difference in behavior across browsers. However, jQuery is only good when you are using jQuery - once you go beyond inline event handling and DOM traversal, you will still run into browser incompatibility.



VS2008 works well enough for debugging JS in IE; without further information on the kind of problems you are having, I cannot suggest anything else.

+1


source


Here are a couple of resources for you:

IE Web Developer Toolbar - This utility is not as powerful or as useful or reliable as Firebug , but it can at least help you see the DOM renders in IE. This tool is available for IE6 and IE7.



Firebug Lite - Speaking of Firebug, check this out. It tries to recreate something close to Firebug for IE, but does it entirely through the javascript bookmarklet .

Finally, as Shog9 suggested, Visual Studio can be a good way to debug Javascript in IE. Sometimes. Since it is slow, Windows only, and expensive (for some) ... I dare not recommend it.

+1


source


The only problems with xbrowser I had was keyup / press / down

0


source







All Articles