var myResults = $('form').filter(function(){return !
$(this).html().match('coop:manage')})

// untested, and rather sloppy... but it should do the job

On 6/25/07, John Farrar <[EMAIL PROTECTED]> wrote:


NOTE:
I can select the forms and loop through them using

var myResults = new Array();
jQuery('form').each(function(){
  if(this.attr('coop:manage') == "true")
     myResults[myResults.length] = this;
});
return myResults;

...but that gives me an array that is non-jquery and it isn't as good
as it should be!

again, how about a guru showing your stuff on this one.

John

On Jun 25, 7:30 pm, John Farrar <[EMAIL PROTECTED]> wrote:
> OK here it is short and simple. If I have more than one form on a page I
> would like to select on the forms like this...
>
> <form coop:manage="true">
>
> I would like this to be returned as a jQuery object that can be
> itterated through with .each!
>
> Thanks oh guru in advance for your great knowledge, :).
>
> John Farrar




--
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ

Reply via email to