javascript Programming Glossary: event.observe
Javascript event when mouse leaves browser window http://stackoverflow.com/questions/1672142/javascript-event-when-mouse-leaves-browser-window I'd like to express the solution in terms of prototype's Event.observe but I can figure that part out. Thanks for any suggestions ..
How to implement a chat room using Jquery/PHP? http://stackoverflow.com/questions/4174521/how-to-implement-a-chat-room-using-jquery-php iframe to prevent problems with IE when reloading the page Event.observe window load comet.initialize Event.observe window unload comet.onUnload.. the page Event.observe window load comet.initialize Event.observe window unload comet.onUnload script body html Method 2 AJAX..
submit a form via Ajax using prototype and update a result div http://stackoverflow.com/questions/443276/submit-a-form-via-ajax-using-prototype-and-update-a-result-div form div id 'result' div Your js would be more or less Event.observe 'myForm' 'submit' function event 'myForm' .request onFailure..
How do you automatically set the focus to a textbox when a web page loads? http://stackoverflow.com/questions/45827/how-do-you-automatically-set-the-focus-to-a-textbox-when-a-web-page-loads I'f you're using jquery function #Box1 .focus or prototype Event.observe window 'load' function Box1 .focus or plain javascript window.onload..
Getting actual height of an auto-heighted element in IE http://stackoverflow.com/questions/692523/getting-actual-height-of-an-auto-heighted-element-in-ie by using Prototype framework fixing column height problem Event.observe window load function if parseInt 'col1' .getStyle 'height' parseInt..
Autosizing textarea using prototype http://stackoverflow.com/questions/7477/autosizing-textarea-using-prototype into account long lines 'text area' .rows linecount 1 Event.observe 'text area' 'keydown' resizeIt you could attach to keyUp etc..
|