you seem to have not read my post ..... Firefox wont listen on DIv/span/li elements... i know it works on textarea / input values.
Alex ----- Original Message ----- From: Vladimir Tkach To: [email protected] Sent: Saturday, May 09, 2009 10:10 AM Subject: [Proto-Scripty] Re: Keypress event WTF? It's work fine for each browser: - install firebug / firebug lite (F12 to open console) - use console.log('event') instead of "alert" so, u've got result like this one >>> Event.observe('shared_field_description','keypress',function(e) { console.log(e); }); <textarea id="shared_field_description" class="normal" rows="20" name="shared_field[description]" cols="40"> keypress charCode=102, keyCode=0 keypress charCode=114, keyCode=0 keypress charCode=116, keyCode=0 keypress charCode=102, keyCode=0 keypress charCode=115, keyCode=0 -- Best Regards, Vladimir Tkach +972-54-7574166 [email protected] http://teamco-anthill.blogspot.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
