On Jul 24, 7:30 pm, muckypup <[email protected]> wrote:
> Hey
>
> I'm new to Rails, and I was wondering if there was a way to include
> custom javascript libraries in the HTML views? I've been searching for
> a while and can't seem to find any way to do this.
>
> For example, I want to have some javascript function firing an onkeyup
> event from an input element that is generated dynamically. It's
> nothing to do with ajax -- all client side. Everything I've found just
> deals with remote calls. I suspect it is something to do with
> observe_field :function, but can't seem to get it working.
>
Just go ahead and write the javascript as you normally would. the
helpers can be handy in some cases but don't be afraid of ignoring
them

Fred
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
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