473,387 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Cursor position and backspace button

In my login page I have 2 textbox and one submit button. I also have a keypad
for users to enter text to the textbox. I need the coding for backspace
button that can be used for both textbox. The one I found can only be used
for one textbox. Is there any way to find the cursor position and how do I do
that?

Thanx in advance
Nov 16 '05 #1
1 2499
You'll need to capture key events using JavaScript hooks. You'll have
more help on a JavaScript board.

Patrick Altman
<><

gal20 wrote:
In my login page I have 2 textbox and one submit button. I also have a keypad
for users to enter text to the textbox. I need the coding for backspace
button that can be used for both textbox. The one I found can only be used
for one textbox. Is there any way to find the cursor position and how do I do
that?

Thanx in advance


--
--
Patrick Altman
<><
Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: PeP | last post by:
Good morning, I have a form containing a text-area, I'd like to know if it exists a function that, when I activate an event, returns the position of the cursor in the text-area. For example, I...
0
by: Peteroid | last post by:
I'm doing a managed C++.NET (2003) application where I use a Control::TextBox. When typing in text there is a cursor indicating the position of where typed in text will go next (typically, a...
22
by: DraguVaso | last post by:
Hi, For my application I need the following behavior: When I press F4 the cursor has to move to the next line in my multiline textbox which begins with "0". Finding lines starting with 0 isn't...
1
by: Andy Baxter | last post by:
hello, I'm writing a panoramic image viewer in javascript. When the mouse is over the image, I want it to be a crosshair (over most of the image), or a hand/pointer (when it's over an image map...
0
by: Phil Stanton | last post by:
I have a form with 3 Tab Controls, one of which has a continuous subform with an image in the footer. If on the main form, I move through the records using the navigation buttons, the Cursor...
2
by: mmcnospam | last post by:
Hi I'm pretty new to javascript and cross-browser stuff. I want to restrict text input boxes to only numbers and decimal points and exclude all else....except cursor keys, home keys etc. ...
0
by: jnakam | last post by:
Hi, Im trying to get the gtk_editable_set_position to work. I have a gtkEntry text box and i first enter "12378978987913". When I press '4' I expect the cursor to move to the fourth position...
3
by: PraveenAnekalmat | last post by:
Hi all, How can i get the position of the cursor in the text box on certain event? For Example: Text Box contain ABCDEFG and let the cursor be at position D. I will press backspace and in...
5
by: michels287 | last post by:
Right now I have a touchscreen with a virual keyboard. I would like to create arrow keys. If the user messed up the inputted text, he can move the blinking cursor left one space at a time between...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.