search for: observe_field_length

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

2006 Feb 03
2
JavaScript Prototype Help?
...s silly to make a needless round trip to the server, when the page already knows everything it needs to know. What I wanted was an element observer which executes JavaScript immediately. So I decided to write my own helper using the observe_field code as a model. In my view I have: <%= observe_field_length(''text_area'', { :frequency => 5, :update => ''count_display'', :with => "''Current characters = '' + value.length"}) %> And obviously I also have the form text area called "text_area" and a div called "co...