Hi,
I have an Array of CSS selectors
I want to find if an Element has at least one of the CSS selectors
Example:
var selectors = ['green', 'red', 'yellow']
<div id="elem1" class="red purple yellow white"></div>
<div id="elem2" class="black white"></div>
my function should return true on elem1 and false on elem2
I use prototypejs 1.7_rc2
Thanks for your insights