homepage Welcome to WebmasterWorld Guest from 107.22.37.143
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe and Support WebmasterWorld
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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved