Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes HTML, CSS and JavaScript and the fly likes set focus in textbox inside sliding bar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "set focus in textbox inside sliding bar " Watch "set focus in textbox inside sliding bar " New topic
Author

set focus in textbox inside sliding bar

V Patil
Ranch Hand

Joined: Oct 04, 2008
Posts: 36
i am using a sliding bar on my homepage.i want to set
focus on a textbox inside the sliding bar but
is giving error.
is there any way to do this?

Thanks in advance.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

Do you not think that it would be helpful to tell us what the error was?

ShowSomeEffort!


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
V Patil
Ranch Hand

Joined: Oct 04, 2008
Posts: 36
Error was Cannot set focus to an element which is not present or invisible.
V Patil
Ranch Hand

Joined: Oct 04, 2008
Posts: 36
Please reply
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10170
    
    8

Are you sure it is "userid" and not "userID" or "userId" or something similar?


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10170
    
    8

Please reply
V Patil
Ranch Hand

Joined: Oct 04, 2008
Posts: 36
its "userid"
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

Please look up the expression "pulling hen's teeth" and then think on how it applies to this post and why you are getting little help.
 
 
subject: set focus in textbox inside sliding bar
 
Similar Threads
How to use calender
Problem in integrating Single GWt Textboxs in jsp
Barcode scanning
How to use focus() command
Passed OOP and moving on to servlets!