PDA

View Full Version : JavaScript Tutorial - set mouse pointer position?



web88js
17 Apr 2007, 05:15 PM
hello everyone:

I am learning JavaScript. I created a form and I want the mouse pointer points to the first field(a text filed) on the form when the form first displayed on the browser.

Could someone recommend a good JavaScript online tutorial / or online sources to accomplish this task? I appreciate your help?

I also want to what objects, events handler(s) do I need in order to set mourse pointer to a specific location no the form.

I appreciate your help!

Jeff
4-17-09

web88js
07 May 2007, 01:30 AM
Hello eveyone:

my previous posting is not clear enough. what I am looking for is set the focus on first element on the form, when html file first loaded on browser.

I can use
document.formname.elementname.focus() to accomplish this.


web88js
5-6-07