Page 1 of 1

JS Function to focus() 3 inputs

Posted: Tue Nov 08, 2005 8:18 pm
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.

Posted: Tue Nov 08, 2005 8:31 pm
by feyd
not really.. that'd just focus the last one..

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