Advertisement

1 - 10 of 98 containing alltags:("onkeypress") (0 seconds)
I would like to have a editbox in which we can only type numbers and the backspace. I think I have to use the onKeypress event and limit the access to ascii codes but the onkeypress event returns a...
Zones: Delphi ProgrammingDate Answered: 10/29/1998 Grade: C Views: 0
I have 50 text fields that i want to use a strange validation... When the first letter the user presses is "greek" then he can't write english anymore or when the first letter the user presses ...
Zones: JavaScriptDate Answered: 05/28/2003 Grade: B Views: 0
Hi, I tried to upper the letters while the user is typing in a textbox. <SCRIPT language="javascript"> function Upper(e,r) {    if (e.keyCode > 96 && e.keyCode < 123)          r.value = r.va...
Zones: JavaScriptDate Answered: 03/25/2004 Grade: A Views: 13
We have a program that takes a 3 variables from a user (quantity passed, quantity failed, and an optional reason code if there is a quantity failed). I have been tasked to expand this to be able...
Zones: ColdFusion Application ServerDate Answered: 01/18/2005 Grade: A Views: 0
here is the script <script> function kp(e) {   if (e) keyCode = e.which   else if (event) keyCode=event.keyCode   else return    if (keyCode == 13 ) {      document.getElementById("btn...
Zones: JavaScriptDate Answered: 10/18/2005 Grade: A Views: 0
Hi Expert:   The code syntax below may not be correct (ticks, ' etc ) but here is what I need in my C# behind code: I need to prevent other events from happening if the following code does n...
Zones: ASP.Net ProgrammingDate Answered: 03/16/2006 Grade: A Views: 0
Hi, I'm wanting to restrict user input to accept numeric values including decimal point and pre-determined number of decimal places. To achieve this, I've created a NumericTextBox control whi...
Zones: C#Date Answered: 08/16/2006 Grade: B Views: 0
The event procedure for OnKeyPress starts: Private Sub xxx_KeyPress(KeyAscii As Integer). However when I change it to a function call: OnKeyPress = "=somefunction()" there does not seem to be...
Zones: MS AccessDate Answered: 10/22/2006 Grade: A Views: 0
I created 2 or more TEdit at run-time by Create(Self).And I want to write onkeypress event for all...
Zones: Delphi ProgrammingDate Answered: 03/15/1999 Grade: A Views: 9
Is there anyway I can get this to work in NS (it works fine in IE):<input onkeypress="if(event.keyCode==13)GetPersonData();" ... ?
Zones: Web BrowsersDate Answered: 06/16/1999 Grade: A Views: 0