Displaying 1 result from an estimated 1 matches for "stylized_word".
2006 Mar 13
2
Keypress events with no AJAX needed
...ypes.
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)));})")%>
<div id=''show_word''></div>
Thank you!
Chris
--
Posted via http://www.ruby-forum.com/.