search for: text_param

Displaying 1 result from an estimated 1 matches for "text_param".

Did you mean: ext_param
2006 Aug 13
2
Catching "keypress" event with observe_field
...#39;'m desperately trying to update a div when a key is pressed in a text field. Eg. : <input type="text" id="field"> <div id="area"></div> <%= observe_field :field, :url => {:action => :myAction}, :update => :area, :with => "text_param", :on => ''keypress'' %> This does not seem to work, and I can''t understand why. Does someone have any clue on what I am doing wrong ? Thanks in advance -- Posted via http://www.ruby-forum.com/.