Quick ASP question

Jumpem

Lifer
Sep 21, 2000
10,757
3
81
I have three textboxes getting a telephone number. They're boken up into the standard 555-123-4567 format. How do I make it so that when the user types three digits into the first textbox that it automatically moves over into the second one, and then the third? Thanks for any help!
 

whalen

Golden Member
Dec 5, 2000
1,176
0
0
You would need javascript of some kind...do a search on google and i'm sure you'll find the code you need.
 

Jumpem

Lifer
Sep 21, 2000
10,757
3
81
Whalen, thanks for the help. However, my boss doesn't want us to use any javascript for this project. Some of the Mac users at the school have had problems running pages with it.
 

bunker

Lifer
Apr 23, 2001
10,572
0
71
Originally posted by: Jumpem
Whalen, thanks for the help. However, my boss doesn't want us to use any javascript for this project. Some of the Mac users at the school have had problems running pages with it.

No javascript, no jumping cursor.
 

Jumpem

Lifer
Sep 21, 2000
10,757
3
81
Originally posted by: bunker
Originally posted by: Jumpem
Whalen, thanks for the help. However, my boss doesn't want us to use any javascript for this project. Some of the Mac users at the school have had problems running pages with it.

No javascript, no jumping cursor.

What about vbscript?

Perhaps I will just use that javascript code that was linked to and have some of the Mac kids at the school test it out.

 

Descartes

Lifer
Oct 10, 1999
13,968
2
0
Umm, you can't use Javascript, but you're willing to use VBScript? VBScript is not nearly as pervasive as Javascript on the client-side.

Stick with Javascript. There's not a browser being used today that isn't capable of handling what you need to do with it (save for text-only browsers).
 

bunker

Lifer
Apr 23, 2001
10,572
0
71
Originally posted by: Jumpem
Originally posted by: bunker
Originally posted by: Jumpem
Whalen, thanks for the help. However, my boss doesn't want us to use any javascript for this project. Some of the Mac users at the school have had problems running pages with it.

No javascript, no jumping cursor.

What about vbscript?

Perhaps I will just use that javascript code that was linked to and have some of the Mac kids at the school test it out.

vbscript won't run in anything but IE without a plugin IIRC.
 

Jumpem

Lifer
Sep 21, 2000
10,757
3
81
Originally posted by: Descartes
Umm, you can't use Javascript, but you're willing to use VBScript? VBScript is not nearly as pervasive as Javascript on the client-side.

Stick with Javascript. There's not a browser being used today that isn't capable of handling what you need to do with it (save for text-only browsers).

I'm not too familiar with javascript, vbscript, or asp. It's a learn on the fly kind of thing. I'm not sure what the problem is with Macs and javascript they've been having. I'll give it a try tomorrow.