search for: keyup

Displaying 17 results from an estimated 17 matches for "keyup".

Did you mean: keyur
2008 Jan 08
1
HOWTO: Add a new line, Remove new line?
...the initial calculation. Some fields might be pre-checked. calculate(); // Attach event handlers for click event on checkboxes $$(".fieldpair input:checkbox").each(function(elem) { elem.observe(''click'', calculate); }); // Attach event handlers for keyup event on text fields $$(".fieldpair input:text").each(function(elem) { elem.observe(''keyup'', calculate); }); }); <strong>#my HTML:</strong> <script type="text/javascript" src="prototype.js"></script> <script ty...
2006 Feb 14
4
Scrollbar in Autocomplete List
Hi all, Firstly is there a way to search the archives? Second I was wondering if there is a way to implement a scrollbar on the list that occurs when you use autocomplete. I have some lists that are very long so I would like to shorten them but still have all the options. Regards, ----------------------- Iggy Sandejas D-Frag Solutions http://www.dfrag.com.au -----------------------
2006 Jan 27
0
RE: [prototype] [BUG] Event.stop doesn''t stop allkeystrokes on some browsers
> a little more digging into this and it appears it''s that different > browsers > handle the keypress at different times (from what I can see, there are 3 > events triggered when you press a key, keydown, keypress, and keyup). I > changed line 1531 to ''keypress'' from keydown and on all of the browsers I > tested (safari, opera, konqueror) it appeared to work fine, with the > exception of opera, which still allowed the tab key through. > That''s good to know. I was wondering why...
2011 Dec 17
7
How to fire Ajax call from Form_for
I am learning Rails 3 and need some help on Ajax part. I am trying to accomplish the following: There is a textarea on the page which has a length of letters constraint, say 100. Every time a symbol is typed there,a nearby label tells you how many letters you have left. I plan to use Ajax to do this. I googled for a few hours and could not figure out how to do this. So far what I have done is
2007 Nov 20
4
onkeyup issue while you create new element
...stion please help me out as i have stucked on this for 2 hours (searching, trying, googling and etc) var td6Input = td6.appendChild(new Element(''input'', {size: "2", maxLength: "2", name: "txtDateOfServDay"+seq, id: "txtDateOfServDay"+seq, onkeyup: "KeyButtonPress(this, event, 2)", onchange: "checkDay(this)"})); the onkeyup will call my KeyButtonPress function but somehow at this case it doesn''t seem working. did i get the syntax incorrect? --~--~---------~--~----~------------~-------~--~----~ You received this...
2008 May 26
9
App#process_message
how can rewrite the App # process_message to treat the messages of the system? wxruby -- Posted via http://www.ruby-forum.com/.
2006 Mar 08
4
Event.Observer - (was: Ajax.Autompleter not working on IE)
See if I can stir up a little life with a demo. I can''t believe that Ajax.Autocomplete doesn''t work on IE, so I *must* be doing something wrong. Trying to figure this out I added some alerts to control.js and it seems that IE is not getting the onkeypress events. So, here''s a demo: http://hank.org/demos/form.html That contains two fields with onkeypress events:
2006 Jan 27
1
[prototype] [BUG] Event.stop doesn''t stop all keystrokes on some browsers
attached is an html file I used to test the bug. the top text box should not allow you to type anything, not tab, not enter, nothing. bottom text box should work fine. requires prototype.js and includes jslog for jslog.info although it only occurs in one place, I just wanted to make sure the event was firing without having to use alerts :) tested browsers/platforms: opera: mac / win / lin:
2007 Jul 16
4
Problem with keypress event handling
Hi all, we are writing a cross browser Javascript control that enhances the HTML text input element in order to accept only digits (more or less). Supposing that ''domText'' is the DOM element corresponding to the HTML text input, we wrote the following: Event.observe(domText, "keypress", this.onKeyPress.bindAsEventListener(this)); where this.onKeyPress =
2010 May 18
8
gem for snow leopard?
Does anybody plan to post binary rem for SL? Id''love to rely on its availability in the installation script... As wx included in installation package makes it huge... Sergey Chernov real.sergeych@gmail.com
2007 May 11
0
Wine release 0.9.37
...l.ocx: Do not try to dereference NULL pointer if CreateHelpViewer failed. hhctrl.ocx: Recognize and use topic specification in url or in data. shlwapi: Implement IUnknown_CPContainerInvokeParam. Aric Stewart (2): ole32: Accelerators, like for the menu ones, should not fire on the keyup message. gdi32: GetGlyphOutline needs to look at linked fonts as well. Ben Taylor (3): wineshelllink: Improve /bin/sh and awk compatibility. wineinstall: Use `wine --version` instead of `which wine`. winegcc: Allow -R and -z linker options. Bernard Ladenthin (2): bro...
2009 Jul 16
2
[PATCH server] updated anyterm/ovirt integration
...ss(ev) { + // We want this keydown event to become a keypress event, but nothing else. + ev.cancelBubble=true; + if (ev.stopPropagation) ev.stopPropagation(); +} + + +// When a key is pressed the browser delivers several events: typically first a keydown +// event, then a keypress event, then a keyup event. Ideally we'd just use the keypress +// event, but there's a problem with that: the browser may not send a keypress event for +// unusual keys such as function keys, control keys, cursor keys and so on. The exact +// behaviour varies between browsers and probably versions of browse...
2008 Jun 27
0
Wine release 1.1.0
...LImgElement::put_src implementation. mshtml: Added onclick attribute support. mshtml: Use heap_alloc_zero in NSContainer_Create. mshtml: Added generic HTML event listener and use it for click event. mshtml: Added IHTMLElement::put_onclick implementation. mshtml: Added keyup event support. mshtml: Added IHTMLElement::put_onkeyup implementation. mshtml: Added IHTMLElement2::get_tabIndex implementation. mshtml: Added IHTMLElement2::put_tabIndex implementation. mshtml: Added support to accessing child nodes by index in IHTMLDOMChildrenCollection....
2008 Oct 24
0
Wine release 1.1.7
...ml: Added open and close implementation. mshtml: Added IHTMLInputElement::select implementation. mshtml: Added element blur, focus, paste and drag event implementation. mshtml: Added element keydown, mouseup and mousedown event implementation. mshtml: Added document keydown, keyup, dragstart and selectstart event implementation. mshtml: Added element mouseout and selectstart event implementation. mshtml: Test for NULL nscontainer in set_event_handler_disp. mshtml: Added IHTMLDocument4::focus implementation. mshtml: Added IHTMLElement::get_innerText im...
2007 Oct 25
0
6 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_resource.c
...itions & SWFDEC_EVENT_MOUSE_MOVE) - return "MouseMove"; - if (conditions & SWFDEC_EVENT_MOUSE_DOWN) - return "MouseDown"; - if (conditions & SWFDEC_EVENT_MOUSE_UP) - return "MouseUp"; - if (conditions & SWFDEC_EVENT_KEY_UP) - return "KeyUp"; - if (conditions & SWFDEC_EVENT_KEY_DOWN) - return "KeyDown"; - if (conditions & SWFDEC_EVENT_DATA) - return "Data"; - if (conditions & SWFDEC_EVENT_INITIALIZE) - return "Initialize"; - if (conditions & SWFDEC_EVENT_PRESS) - retur...
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...live-search fields @@ -947,7 +947,7 @@ Form.Element.DelayedObserver = Class.create({ this.element = $(element); this.callback = callback; this.timer = null; - this.lastValue = $F(this.element); + this.lastValue = $F(this.element); Event.observe(this.element,'keyup',this.delayedListener.bindAsEventListener(this)); }, delayedListener: function(event) { @@ -960,4 +960,4 @@ Form.Element.DelayedObserver = Class.create({ this.timer = null; this.callback(this.element, $F(this.element)); } -}); +}); \ No newline at end of file diff --git a/src...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server