Maurício Linhares wrote:
> Could you please elaborate a little bit more?
>
> What do you mean by "saving in the same view"?
I want to catch the value of num_titulos for pass this value to action
comprueba, but I don´t know how I do it.
td><p><b>numero de titulos a comprar: </b><%= f.text_field
:num_titulos, :size=> 10 %> </p>
<p><b>Elija el precio al que compro: </b><%= f.text_field
:precio_compra, {:size=> 10, :onchange =>
"#{remote_function(:url=>{:controller=> "accions", :action=>
"comprueba"},:with =>"'valor='+ value")}"} %></p>
</td>
thanks for all
--
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 [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
-~----------~----~----~----~------~----~------~--~---