I want to get the list of all stylesheet rules that is affecting the current element. Something like what firebug or native inspect element does.
Asked
Active
Viewed 276 times
1
-
4take a look at this question: http://stackoverflow.com/questions/754607/can-jquery-get-all-css-styles-associated-with-an-element – Sergio Mar 19 '13 at 06:54
-
Hey Sergio, the link which u gave lists all the css styles.. I am looking for Matched CSS Rules which are affecting the current style – Kshitiz Mar 19 '13 at 09:08
-
Hey @Floradu88 , as for what I have tried so far... I think I was searching for the wrong thing.. I should have been searching for Matched CSS Rules ... I found this library http://www.brothercake.com/site/resources/scripts/cssutilities/ that would work for perfectly in my scenario.. – Kshitiz Mar 19 '13 at 09:11