similar to: How to stop return key from submitting form

Displaying 20 results from an estimated 10000 matches similar to: "How to stop return key from submitting form"

2006 Aug 31
2
Event.observe problem
Hi everyone! I came across and interesting problem with prototype Event.observe. Take this code for example: <script type="text/javascript" src="cropper/lib/prototype.js"></script> <script language="JavaScript"><!-- function handler(e) { if (document.all) { e = window.event; } var key; if (document.layers) key = e.which; if
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 =
2007 May 01
3
How to get TinyMCE editor value( text content)
Hi everybody ! I included one tinymce editor in my rails application. But I cant get the textarea content from the tiny editor. I dont know how to include the submit button . And also I wrote a javascript for getting the textarea content when the user press the enter button. Its also not working. Why it is. tinyMCE.init({ mode : "textareas", }); <textarea name="msg"
2009 Jul 16
2
[PATCH server] updated anyterm/ovirt integration
host static anyterm content locally, url parameterize anyterm rows/cols/general param update spec/makefile Ideally I wanted and tried hard to put all this into a seperate ovirt-server--anyterm subpackage, but we cannot 'reopen' the ovirt server virtual host defined in ovirt-server.conf to add the neccessary rewrite rules. it would be nice to figure out a way to do this ---
2002 Jan 30
0
Dead Keys Solution (although temporary)
Hi, I require dead keys to be "productive" with Linux and I require Lotus Notes to communicate... I've installed Lotus Notes 5.0.8 (All Clients), successfully. Created a link in "C:\Program Files\Netscape\Communicator\netscape.exe" which in turn points to /usr/bin/netscape which runs Netscape 6.2.1 from /usr/local/netscape/netscape... This allows the hyperlinks to work
2006 Sep 02
1
Backspace key is sending Delete after update to 4.4 (tcsh issue?)
Maybe it was always sending Delete and I didn't notice it, but I have had the following in my .tcshrc file for ages (without realizing it): bindkey -b ^? i-search-back Before the update to 4.4, hitting the backspace key at the shell prompt deleted the previous character. Now it activates the search backwards function as instructed to do so by the bindkey directive. The
2006 Mar 03
11
event.keyCode broken in prototype?
I ran 2 tests. One using proto''s Event.observe, and another using an in-line handler of the "keydown" event in a textbox. Using .bindAsEventListener, the event.keyCode is always returning a capital letter, no matter what. The in-line event handler returns lowercase vs. uppercase correctly... What''s going on? I guess I find it hard to believe no one has tried
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
2005 Aug 18
1
Wine 20050725 - Keyboard input not being recognised in 3d - mystery
Hi, Running the latest version of wine, I have come across a problem that seems simple but I can't find a fix to it! As a more in-depth look at the problem described in this thread: http://www.winehq.org/hypermail/wine-users/2005/08/0012.html When I run 3d applications my keyboard will not respond, however in 2d applications such as notepad I get the same error messages however the
2008 Dec 28
1
vncviewer <defunct> under HVM
Unable to connect to my HVM # xm list Name ID Mem VCPUs State Time(s) Domain-0 0 3869 2 r----- 368.6 vm00 45 128 1 -b---- 62.3 The vm00 changes state from "r" to "b" after about a minute. (I have a fedora dvd in the drive.) #cat
2001 Jun 22
3
X11: Oracle Forms runs fine locally, but not remotely
There is some difference in the keyboard defs, though not much. The most interesting is this line, from the remote machine, with +keyboard: trace:keyboard:X11DRV_ToUnicode Found keycode 13 (0x D) trace:keyboard:X11DRV_MapVirtualKey MapVirtualKey wCode=0x43 wMapType=2 ... trace:keyboard:X11DRV_MapVirtualKey Found keycode 13 (0x D) trace:keyboard:X11DRV_MapVirtualKey returning 0x63. This is
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:
2011 Apr 07
0
python for game menus needing mouse but with mwo=force
# # # WHY DID WRITE SCRIPT ? : GAMES ! # WINETRICKS MWO=FORCE but want to use GAME MENUS with MOUSE # example SWAT4 , need to use menu in game to start shooting baddies !! but need MWO=FORCE in game ?? # # PLATFORM : linux # REQUIRES : python python-xlib xdotool # AUTHOR : terry.cadd at gmail.com # DATE : Thu Apr 7 22:28:38 BST 2011 # VERSION : 1 # # USAGE : # start this script then play the
2007 Mar 19
1
Running Corel Gallery, unable to register dll
Hello, I'm trying to run Corel Gallery. I've installed succesfully the application. When I select convert in menu, nothing happen and wine said : err:ole:CoGetClassObject class {57a17730-e8d6-11d1-b1ff-99a7a7feb94a} not registered err:ole:CoGetClassObject no class object {57a17730-e8d6-11d1-b1ff-99a7a7feb94a} could be created for context 0x1 On a regular windows, the id matches this
2006 Mar 22
4
Capture/Observer keys (F11, F3, ALT+arrows, CTRL+C/V/X)
Hi all, I really appreciate all of you who are behind this great proyect. Im from Argentina (if you dont notice for my accent eheheh) Im trying to capture width the func Event.observe() the keys F3 and F11. Also the combinations for ALT and the arrows keys, and other combinations like: CTRL+X (cut) CTRL+C (copy) CTRL+V (paste) Using something like this: Code: Event.observe(window, keycode=122,
2010 Sep 02
6
[PATCH]ioemu: fix altgr-insert behavior
When access to a Xen DomU (Linux) from a VNC client in Windows, alt-gr key is not working properly. When Alt + another key pressed, vncserver receives Altgr down, Altgr up and key down messages in order, that causes incorrect output. With following patch, when vncerver receives key down message, it first check if the keysym needs altgr modifer, if it needs altgr modifier but altgr is not
2006 Jun 19
2
Autocompleter enhancement feature request
Hello, I have created a ticket for an enhancement of the autocompleter to show the options immediately when the field gets focus. Right now at least one character must be typed for autocomplete to kick in. http://dev.rubyonrails.org/ticket/5435 I have also made some code changes directly in the script Event.observe(this.element, "blur", this.onBlur.bindAsEventListener(this));
2004 Oct 20
1
wordperfect 12 tells to report this
Hello, wp12 trial fails to run with following debug output. Wine is several days old CVS. Is it difficult to fix this? err:keyboard:X11DRV_ToUnicodeEx Please report: no char for keysym 0000 (No Name) : err:keyboard:X11DRV_ToUnicodeEx (virtKey=0,scanCode=0,keycode=8,state=0) err:keyboard:X11DRV_ToUnicodeEx Please report: no char for keysym 0000 (No Name) : err:keyboard:X11DRV_ToUnicodeEx
2008 Jul 03
1
Cant use deadkeys in Portuguese keyboard
Hi, ive been trying wine and i love it , i have ubunty hardy with all the updates and wine 1.1.0 and i can run most applications i need in wine. although i have a problem , the keyboard layout is correct but deadkeys dont work. In ubuntu they keyboard is set to Portuguese and deadkeys work fine in all applications but in wine instead of ????? i have 'a 'e 'o ~a ~o... etc ive run a
2007 Feb 18
11
Tabulation with ENTER key
Dear all, I think this can be interesting for others too. For a while I tried to solve that problem - how to tabulate with ENTER/RETURN key too and not only with TAB. You know the problem - you are entering a lot of numbers from numeric keypad but you need to go far left to press TAB. This prevents one-hand data entry and prohibits web apps to be used by accountants, for instance. Here is a