hello everybody
How I save de value of text_fiel in the same view
<%= f.text_field :precio_compra, :size=> 10 %>
How do it???
thanks for all
hello everybody
How I save de value of text_fiel in the same view
<%= f.text_field :precio_compra, :size=> 10 %>
How do it???
thanks for all
Could you please elaborate a little bit more?
What do you mean by “saving in the same view”?
Maurício Linhares
http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/
(en)
On Sun, Jan 25, 2009 at 4:16 PM, Maite P.
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>
numero de titulos a comprar: <%= f.text_field
:num_titulos, :size=> 10 %>
Elija el precio al que compro: <%= f.text_field :precio_compra, {:size=> 10, :onchange => "#{remote_function(:url=>{:controller=> "accions", :action=> "comprueba"},:with =>"'valor='+ value")}"} %>
thanks for all
Ryan B. wrote:
If it is inside a form and that form points to the right action then
that field will be passed in via the params hash
ok it is inside a form but I want before to click on the bottom submit I
want to catch the value to pass for :onchange
:onchange =>
"#{remote_function(:url=>{:controller=> “accions”, :action=>
“comprueba”}
thanks again
If it is inside a form and that form points to the right action then
that field will be passed in via the params hash
On 26/01/2009, at 19:50, Maite P. <rails-mailing-list@andreas-
Hello list I have the same problem yet
I dont catch value of text_field in the same erb.html file.
any idea???
thanks again.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs