search for: count_display

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

2006 Feb 03
2
JavaScript Prototype Help?
...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 "count_display". My helper looks like this: def observe_field_length(field_id, options = {}...