Results 1 to 3 of 3

Thread: Set focus on a div in a page onclick of button using JS

  1. #1
    Join Date
    Mar 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Set focus on a div in a page onclick of button using JS

    i need to set focus on a div in the page onclick of button how can i do the same.

  2. #2
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    What do you mean by set focus? Are you looking for something similar to the set focusing on a input text box? If so, that effect won't be able to achieve. If you are looking for a method to show a particular div or rather move to the div element then it can be done.

  3. #3
    Join Date
    Mar 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi wt i mean frm my statement is i mean for eg on click of go advanced button on this page i need the page refreshed and focus should be set on this message typed text box div
    Last edited by vinothstce; 03-31-2009 at 10:11 AM.

Bookmarks

Posting Permissions

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