I don't know the core enough to know if it is possible or not, but you can just check it again:
$('[onabort],[onblur],[onchange]').each(function(){ var $this = $(this); $this.css('border','1px solid #000'); if ( $this.attr('onabort') ) { // abort } else if ( $this.attr('onblur') ) { // blur } else if ( $this.attr('onchange') ) { // change } }); On Nov 4, 5:23 pm, Geuis <[EMAIL PROTECTED]> wrote: > If I do a match that is using multiple selectors, how(or is it > possible) do I know which filter was used to select the item in the > current index? > > For example: > > $('*[onabort],*[onblur],*[onchange]').each(function(){ > $(this).css('border','1px solid #000'); > > }); > > This scans the DOM for any elements with these inline javascript > attributes. In the .each() loop, I need to know which filter was used > to match the current selection. Can this be done?