muskokee wrote:
> LOL!
> 
> I wonder why it doesn't work then?  Does the script have to be placed
> *after* the element?

Yes. It's sorta like using a variable before you've declared your variable. It
needs to have been created as a DOM element by the browser before you can use 
it.

-- 
Michael Peters
Developer
Plus Three, LP


--~--~---------~--~----~------------~-------~--~----~
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