George Adamson schrieb:
> Just discovered that simple wildcards can be used *without* modifying jquery
> code (phew), by using \\S* in the selector syntax...
> 
> Can be done like this:  $("INPUT.myClass\\S*")  will match .myClass1 and
> .myClassHello etc.
> 
> This only works where selector searches in the jquery code rely on a regex,
> but it may be ok for some people.
> 
> Just another 2cents worth...
> George


George, couldn't you use the CSS 3 substring selector?

var $$ = $("[EMAIL PROTECTED]"myClass");

If the class name always starts with "myClass" you could also use

var $$ = $("[EMAIL PROTECTED]"myClass");


-- Klaus

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to