Hi folks
I am basically clueless about javascript and haven't found the answer to my
problem.
I have a coldfusion page that I want the cursor to position itself over a
division
(not an input field). The division contains a small image.
I have tried the following code to no avail.
<script type="text/javascript">
function pageFocus() {
document.getElementById('mydivisionID').focus();
}
window.onload = pageFocus;
</script>
Any suggestions?
Thanks
Rob
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:6089
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm