On Tue, Oct 6, 2009 at 2:47 PM, Alexei Spirit
<[email protected]> wrote:
>
> When I'm doing like this:
>  :onchange => remote_function(
>    :update => "incident_service_id",
>    :url => {:action => :update_services},
>    :with => "'service_group_id=' + alert(this.value)")
> IE shows write option value...
>
> I'm using Prototype. So could u show me how to access this value by
> Prototype library.
I'm not using Prototype since a while ago, but I think this should work.
http://api.prototypejs.org/dom/form/element.html#getvalue-class_method
(API docs are your friend.)

-- 
Leonardo Mateo.
There's no place like ~

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