I need this so I can drop my selections directly below it. I've discovered that the text fields do not have the top nor left style properties as I expected they would
thus:
Code: Select all
<script>
function dropIn(obj)
{
alert(obj.style.left+" "+obj.style.top);
}
</script>
<input type="text" name="somefield" onKeyUp="dropIn(this)">anyone know a way to determine a text field's placement on the page dynamically?