开发者

find selector with specific content in mootools like this jquery selector

开发者 https://www.devze.com 2023-04-01 20:01 出处:网络
I need to convert this jquery to mootools. $(\'tr[class$=\"-hours\"]\').css(\'display\', \'none\'); $$(\'XXX\').setStyle(\'display\', \'none\');

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开发者_Go百科 version installed) have something like the selector above?


MooTools supports the W3C CSS3 Selectors.

$$('tr[class$="-hours"]').setStyle('display', 'none');
0

精彩评论

暂无评论...
验证码 换一张
取 消