JS Function to focus() 3 inputs

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
facets
Forum Contributor
Posts: 273
Joined: Wed Apr 13, 2005 1:53 am
Location: Detroit

JS Function to focus() 3 inputs

Post by facets »

Is it possible to use a function to automatically focus() 3 form inputs one after the other?
Any examples?

i'm using the following to update the input text

<input type=\"text\" size=\"19\" name=\"totalLabelsReturned\" onBlur=\"checkNumeric(this,0,999999999,'','','');\" onfocus=\"calcCostRetLabel()\" value=\"$record[totalLabelsReturned]\">

tia, Will.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

not really.. that'd just focus the last one..

At best, each field would, using onchange, focus to the next field..
Post Reply