Mark Reginald James wrote:
> Allen Walker wrote:
>> Ok this worked:
>>
>> <%= javascript_tag
>> "document.getElementById('guarantee_status').onchange()" %>
>
> That suggests your problem was absence of the Prototype
> library, meaning that your AJAX call wouldn't have worked
> either. Do you have something like:
>
> <%= javascript_include_tag "prototype", "application" %>
>
> ?
>
> --
> Rails Wheels - Find Plugins, List & Sell Plugins -
> http://railswheels.com
Yeah something was wrong with my
<%= javascript_include_tag :defaults %>
Got that fixed.
Regardless I had to go pure client side to get to onchange to fire
properly. But I did get it to work.
Thanks for your 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
-~----------~----~----~----~------~----~------~--~---