Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Paul Clapham
Liutauras Vilda
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
HTML Pages with CSS and JavaScript
.focus()
Glen D'cruz
Greenhorn
Posts: 15
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hai,
How do I use .focus() to get the curser to go back to the field which has an error.
Can any one give give me a short example.
Thanks-Glen
Eric Pascarello
author
Posts: 15385
6
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
document.formName.elementName.focus()
Glen D'cruz
Greenhorn
Posts: 15
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hai Eric,
Thanks for your reply.
Glen
This cake looks terrible, but it tastes great! Now take a bite out of this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Failed SCJP 6
URL parameter ~~howto ?
set focus
Passed SCBCD with 90 %
Focuse object
More...