我有這個link_to_function我如何把這個link_to_function在軌LINK_TO 3
= link_to_remote 'Populate Info From ID', :url => {:controller => 'something',
:action => 'populate_from_id'},
:with => "'id=' + $('account_id').value + '&field_prefix=purchaser'",
:update => {:failure => 'account_id_error'}
我已經轉換很多人在鐵軌與, :remote => true, :method => :post
升級但我不知道如何與加條件來獲取值...任何想法