> That wasn't the problem - the toggle_fruit_price function was fine as
> it was. The problem is with this statement
> 
> toggle_fruit_price(apple_price);
> 
> Forget that it's js for a second - that statement isn't legal if there
> is no variable named apple_price, which there isn't
> 
> Fred

Phew, thanks.  Javascript is not my forte, but I'm learning more of it 
now.  Thanks for the help :)
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to