Hi
I have a link_to_re,ote function as
<%= link_to_remote( “Select”,
{:update=>“div_inside_transfer_reason#{div_no}”,:url =>{ :controller =>
‘popup’, :action =>
‘search_primary_group_ui’,:flow_item=>flow_item.flow_item_id,
:sd_ticket=>sd_ticket, :div_no=>div_no}},:class => ‘itillink1’) %>
And the textarea as
<%= text_area_tag “transfer_reason”, nil, :size => “50x1” %>
How can I pass the value of this text area with lnk_to_remote to action
search_primary_group_ui?I am not using any form in the file
Hi
Thanks for your reply…It worked…
:with =>“$(‘transfer_reason’).serialize()”
Could you please tell me what is serialize here?What is the use of it?
I encourage you to experiment, but the short version is in the post I
linked to before: it creates an appropriate bit of query string for
the specified input element.
Fred
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.