Reputation: 483
I need to convert this jquery to mootools.
$('tr[class$="-hours"]').css('display', 'none');
$$('XXX').setStyle('display', 'none');
does mootools 1.12 (my CMS has this version installed) have something like the selector above?
Upvotes: 0
Views: 199
Reputation: 265271
MooTools supports the W3C CSS3 Selectors.
$$('tr[class$="-hours"]').setStyle('display', 'none');
Upvotes: 2