On Thu, Jun 15, 2006 at 01:54:41PM -0500, Ryan Gahl wrote: # actually that may not work either, you're using a funky nested function # syntax... # # One way or the other, you just have to get the proper object bound the the # lexical scope of the jojo function... # # Or something like that... it definitely works.... # # What version of prototype are you using?
Prototype JavaScript framework, version 1.5.0_rc0. As you've probably guessed, I'm new to Javascript (and OO programming in general.) I got that syntax from Simon Willison's recent "A re-introduction to Javascript" presentation. As an old-school procedural programmer, all of that 'this.whatever' stuff makes my head spin. Thanks for the help! -Sam _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs