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.
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.