seedy wrote:
I do see that the typeof returns 'function'. Does this mean it will never work with *= ? Of interest, if I change that function like so: $('input:image').each(function() { alert(typeof $(this).attr('onclick')); }); It alerts 'string'. Not sure if that is helpful just thought it was interesting.
Maybe we can build our own custom filter then: $('input:image).filter(function() { return $(this).attr('onclick').indexOf('confirm') >= 0; }); --Klaus