Thanks for your input! I'm glad I wasn't totally messing this up, i'll have
a look at the plugin idea Eric maybe i'll find some other usages for it.
Thanks all,
Johan
On Wed, Aug 24, 2011 at 11:50 AM, Eric lefauv...@gmail.com wrote:
Hi,
It may be a little slower as says Victor.
However,
Hi,
It may be a little slower as says Victor.
However, you may try to use part of the class to identify a
pluginclass and the other part for identifying the JS class to use.
Something like that:
$$(*[class^='plugin']).each(function(e) {
var jsClass = e.className.substr(6);
I think it will be slower than separate selectors:
1. Single complex selector will require additional time to parse and merge
nodes into single result.
2. After that you will use additional checks - the same as in your
selectors.
--
You received this message because you are subscribed to the