Hi all,

Reading up on the new release, I'm interested in the new feature of being
able to pass comma-separated lists of selectors to the .not filter.  Can
this be applied to values?

For example, I would like to convert this:

$("[EMAIL PROTECTED]:not([EMAIL PROTECTED]/]):not([EMAIL 
PROTECTED]/]):not([EMAIL PROTECTED]/]):not(.thickbox)").bind("click",
function(){ return !window.open(this.href); });


to something like this:

$("[EMAIL PROTECTED]").not("thissite.net/, thatsite.com/, theothersite.com,
.thickbox").bind("click", function(){ return !window.open(this.href); });

or

$("[EMAIL PROTECTED]").not("[EMAIL PROTECTED]/],[EMAIL PROTECTED] 
thatsite.com/],
[EMAIL PROTECTED], .thickbox").bind("click", function(){ return
!window.open(this.href); });


I can't get it to work (obviously, or I wouldn't be here), so I'm guessing
it's not possible.  Just thought I'd check.


Adam
-- 
View this message in context: 
http://www.nabble.com/A-little-help-with-a-1.0-to-1.1-conversion-tf3015403.html#a8373809
Sent from the JQuery mailing list archive at Nabble.com.


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

Reply via email to