I think the correct is :
link_to_remote "Apply", :update => "result", :url => {
:action => "discount_code"}, :with => "discount=$
(discount_code).value"On Sep 19, 10:46 am, Vikas Gholap <[email protected]> wrote: > Sijo Kg wrote: > > Hi Vikas Gholap > > > Either > > > "'discount='+$('discount_code').value" > > Or > > > "'discount='+$F('discount_code')" > > > Sijo > > Thanks Sijo, > > But I don't have problem related to this. > > My question is that how i access "discount" parameter value in > controller. > > using discount_value = params[:discount] gives me nil. > > How can i access paramter value passed in ":with" > > Thanks again, > Vikas > -- > Posted viahttp://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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

