jQuery check if element has a specific style property defined inline
Here’s a very simple (probably in much need of improvement) plugin I’ve thrown together that will get you the value of an inline style property (and return undefined if that property is not found): (function ($) { $.fn.inlineStyle = function (prop) { var styles = this.attr(“style”), value; styles && styles.split(“;”).forEach(function (e) { var style = … Read more