Displaying 1 result from an estimated 1 matches for "word_panel".
Did you mean:
word_pages
2006 Mar 13
2
Keypress events with no AJAX needed
...ustrating to do in Ruby client-side things
that would be simple in Javascript?
It seems like all of the "helpers" involve server (controller)
communication.
For example, having a text field that just echos below what the user
types.
Is this the only way to do it?
<div id=''word_panel''>
<%= text_field_tag ''user_text''%>
<%= javascript_tag("Event.observe(''user_text'', ''keypress'',
function(event) { Element.update(''stylized_word'',
$F(Event.element(event)));})")...