I am using jQuery to try and get the width of an element that doesn't have the width set. In firefox it works fine, but in IE it returns AUTO instead of the actual width of the element.
jQuery('.nav-2').css('width');
Does anyone know of a work around or another way to get the width of the element that will work in IE?
jQueryin its long form once? By wrapping your code in(function($) { .... })(jQuery);, you can use$no matter ifnoConflicthas been used or not.