JQuery Not Working Well In Firefox And IE 11
Here's code link: jsfiddle demo HTML CODE:
Solution 1:
If you read the .css() jQuery doc it says:
Retrieval of shorthand CSS properties (e.g., margin, background, border), although functional with some browsers, is not guaranteed.
What we could do is, check for the background-image
property.
var bg = jQuery(this).css('background-image');
Post a Comment for "JQuery Not Working Well In Firefox And IE 11"