Sijo Kg wrote: > Hi > > It should work.And what error you get? Also paste the code for > textfields discount_code and tariff_plan_id > > > Sijo
"tariff_plan_id" is a redio button and "discount_code" is a textfield %input{:type=>'radio', :name=>'tariff_plan_id', :value=>"#{plan['service']['name'].downcase}_#{plan['payment_term']['name'].downcase}"} =text_field_tag 'discount_code' =link_to_remote "Apply", :update => "plan_discount", :url => { :action => "discount_code"}, :with =>"'discount='+ escape($('discount_code').value) + '&tariff_plan='+ escape($('tariff_plan_id').value)" When I click on "Apply" link, nothing happens. Thanks, Vikas -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---