Get TextBox Value Ajax

Hi there,

I want to use link_to_remote and pass the value of a textbox to the
action I’m calling with link_to_remote. Does anyone know how to go about
doing this?

Thank you.

Nevermind, I got it. It’s like this for the interested:

<%= link_to_remote 'Find', :url => show_path, :with => "'q=' + escape($F('name'))" -%>

A’ight?

Guest wrote:

Hi there,

I want to use link_to_remote and pass the value of a textbox to the
action I’m calling with link_to_remote. Does anyone know how to go about
doing this?

Thank you.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs