I was restructing my javascript to be more object oriented. In one
section of my code I had a loop that went through list and called
method on each.
 $('table').childElements().each(
     function(row){
        if(this.isSelected(row)){
           count++;
        }
     }

It will not allow me to call the method inside of my object since its
is an anonymous block. Is there a work around to this without having
to attach yet another function.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to