If element has inline styling

1
2
if($(".element").attr("style").length>0){
//do some code
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Just simple snippet for various purposes

Added function in order to check if element has specific style

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.