Reputation: 68074
I have a list of elements, in a "that" variable. How can I find a element with a specific attribute inside these?
(function( $ ) {
$.fn.blah = function(){
var that = this;
return this.each(function(){
$(this).bind('change', function(){
$("[name]", that).dostuff(); // <- doesn't seem to work
return true;
}).change();
});
};
})(jQuery);
Upvotes: 0
Views: 2181