I have a class suffix named fadecontent
in a joomla 3.0 website, and i have to loop trough all div's that have this class suffix using the $.each() function.
I tried this but it seems not to work with class suffixes. joomla docs: class suffix
$('.fadecontent').each(function(i, obj) {
with class suffix i mean this:
<div class="class classSuffix">exemple</div>
<!--example in my code-->
<div class="moduletable fadecontent">content</div>
How to archieve this?
EDIT: the script is in the <HEAD>
tag