Q:

find selector with specific content in mootools like this jquery selector

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?

A:

MooTools supports the W3C CSS3 Selectors.
$$('tr[class$="-hours"]').setStyle('display', 'none');

