search for: grideventhandl

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

Did you mean: grideventhandler
2007 Jul 26
0
Problems with RJS & Ajax
...eate an "onKeypress" event handler for a form but nothing works! I have already studied the reference books on Ajax, but that didn''t help. Can someone explain me how todo this? These are the code-snippets: 1) application.js var GridControlTracker = {} GridControlTracker = { gridEventHandler: function(element, value) { alert(''Key Pressed / element: ''+ element.id); } } 2) show.rhtml <%= observe_form "grid-form", :frequency => 0, :function => "GridControlTracker.gridEventHandler(element,value)",...