homepage Welcome to WebmasterWorld Guest from 54.205.193.39
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
element focus syntax
How can bring focus to various elemnts?
skizm




msg:1477023
 11:22 am on Aug 28, 2005 (gmt 0)

Can someone please enlighten me as to the syntax to bring focus to like checkbox/radiobutton groups, childnodes etc...

thanks in advance!
-c

 

Bernard Marx




msg:1477024
 1:23 pm on Aug 28, 2005 (gmt 0)

Use the
focus method.

Not all elements have this method, of course.

ref_to_element.focus()

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved