Passing a text area value with link_to_remote

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

Thanks in advance
Sijo

On Jun 2, 7:01 am, Sijo Kg [email protected] wrote:

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

I’ve got this all written up here:

Fred

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?

Sijo

On Jun 2, 8:40 am, Sijo Kg [email protected] wrote:

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