Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

finding position of an input box

Status
Not open for further replies.

YYYYUU

Programmer
Dec 13, 2002
47
GB
function getCoordinates(inputBoxName) {

var newX=findPosX(form1.txtEffectiveDate)
var newY=findPosY(inputBoxName)

}

function findPosX(obj)
{ ...... }

If I type in form1.txtEffectiveDate then it accepts it as an object. If I get this as a parameter "inputBoxName" it doesn't treat it as an object. What can I do to make the inputBoxName be read as an object.

many thanks for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top