You're assigning the return value of each() to innerHTML, which is the array
you're iterating over.  What are you trying to do?

-Fred

On Wed, Jun 25, 2008 at 5:22 PM, Namotco <[EMAIL PROTECTED]> wrote:

>
> I'm confused about how to use Template:
>
> $('curMedList').innerHTML=[conversion1, conversion2,
> conversion3].each( function(conv){templ.evaluate(conv);});
>
> this outputs "[object,Object],[object,Object],[object,Object]"
>
> What am I doing wrong?


-- 
Science answers questions; philosophy questions answers.

--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-spinoffs@googlegroups.com
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