Invision Power Services: Simulated tabbing - Invision Power Services

Jump to content

Web Design and Coding

Our community chat forum areas are for off-topic discussion only. Please do not post topics about IPS or its products and services here. We provide other forum areas for IPS discussion.

Do you need technical support on IPS products or services?

You can obtain support via the client area, or you can try to obtain peer-to-peer support at IPS Resources.

Did you find a bug in one of our products?

If you believe you've found a bug please post it to the bug tracker.

Have a suggestion or feedback?

Use the company feedback forum or appropriate product feedback forum. You can also submit a ticket in your client area if it's a private matter.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Simulated tabbing Rate Topic: -----

#1 User is offline   Luke Icon

  • Too detail oriented
  • Icon
  • View blog
  • Group: +Active Customers
  • Posts: 5,485
  • Joined: 14-August 04
  • Location:USA

Posted 02 July 2009 - 11:47 PM

I have a bit of a dilemma.

I have a numeric box that adds several text boxes underneath it when the number changes (onchange event). When the user tabs to the next field from this numeric box, it jumps to the next field. But I want it to go to the field that is newly added.

Is there a cross-browser solution to stopping a user from tabbing from one field to another? And if so, is there a way to simulate what happens when the user hits tab without them doing it?

My plan is to capture the "tab event" and stop it if an ajax request is being made, and then re-do the tabbing action after it has finished. That way when the ajax action updates the form, the text cursor goes to the right field.

Any ideas?
Luke
0

#2 User is offline   Jaggi Icon

  • Needs Serious Help
  • PipPipPipPipPipPip
  • View blog
  • Group: Community Devs
  • Posts: 2,702
  • Joined: 30-December 03
  • Location:Mars looking for Bigfoot

Posted 03 July 2009 - 08:08 AM

you can use the html tabindex attribute.
IP.Tracker Project Developer
See my development site @ www.CodeTheInter.net (BETA)


Posted Image Posted Image

Quote

If you make it idiot proof, they'll build a better idiot
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users