Do YUI have selectors like in jQuery?

Are there any YUIselect methods like jQuery?

for example to get me all the div, which childrenof <table>have links in them?

+5
source share
3 answers

YUI 3 (currently in pre-release) is explicitly highlighted by jQuery selectors:

Y.all('.foo').set('title', 'Go!').removeClass('off');

Take a look at:

, YUI 3 Preview Release 1 OffsetConsumer.org, -, ; YUI 3 .

+7
+5

YUI has a selector utility from version 2 (http://developer.yahoo.com/yui/selector/), but it does not become popular in YUI 2, since most module codes are written before the selector is introduced in YUI2,

+1
source

All Articles