Results 1 to 2 of 2

Thread: JavaScript Tutorial - set mouse pointer position?

  1. #1
    Join Date
    Aug 2004
    Posts
    34

    JavaScript Tutorial - set mouse pointer position?

    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

  2. #2
    Join Date
    Aug 2004
    Posts
    34

    I found solution

    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
    Code:
    document.formname.elementname.focus()
    to accomplish this.


    web88js
    5-6-07

Similar Threads

  1. Dramatically Speed Up Sites with caching on Apache
    By apachedude in forum Web Hosting and Domain Names
    Replies: 0
    Last Post: 18 Jan 2007, 02:43 AM
  2. element specific javascript
    By gumbo in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 04 Dec 2005, 07:25 PM
  3. element specific javascript
    By gumbo in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 04 Dec 2005, 07:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •