Thanks Dan and Mike!
Specifically I need to add "another" return. I knew there was a simpler
way to do it. :)
John
Mike Alsup wrote:
John,
If you want it as a plugin you need to add a return:
jQuery.fn.j = function() {
return this.filter(function(){
return jQuery(this).attr("coop:manage") == "true";
});
};
Mike
On 6/26/07, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote:
John,
>Tried it again with this code...
>
>jQuery.fn.j = function(){
> jQuery(this).filter(function(){
> return jQuery(this).attr("coop:manage") == "true";
> });
>};