Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: What does focus(); mean in Javascript?


Message #1 by anne.do@c... on Thu, 18 Jul 2002 19:50:20
Thanks,  I get what it means now.  

-----Original Message-----
From: Boloian, John [mailto:jboloian@u...] 
Sent: Thursday, July 18, 2002 2:48 PM
To: javascript
Subject: [javascript] RE: What does focus(); mean in Javascript?

Anne,

This will give that form element the focus-- in other words, if its a
textbox, it will be as if a user clicked in it...

-----Original Message-----
From: anne.do@c... [mailto:anne.do@c...]
Sent: Thursday, July 18, 2002 3:50 PM
To: javascript
Subject: [javascript] What does focus(); mean in Javascript?


What does focus() in the JavaScript code mean below:
<SCRIPT LANGUAGE="JavaScript">
<!--
document.EditExp.ExpDesc.focus();
//-->
</SCRIPT>

in this code for a form.
___________________________________


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20

  Return to Index