e form field. You would need to pass in the form
>field names and set focus to them.
>
>
>
>Does that make sense?
>
>
>
>Ben
>
>
>
>-Original Message-
>From: Chunshen (Don) Li [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, March 02, 2004 9:57 AM
Ben, Ben, thank you, where's my head?
> Hello,
>
> With the following CSS and js code, the goal is when an item is
> clicked window's focus should go to that item (blinking cursor inside
> the input box), why current code does not bring up the focus while
> receiving no error?
>
> TIA
>
>
names and set focus to them.
Does that make sense?
Ben
-Original Message-
From: Chunshen (Don) Li [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 9:57 AM
To: CF-Community
Subject: Focus, focus, where's my focus?
Hello,
With the following CSS and js code, the goal is when
You are trying to give the focus to the with the id you selected,
not the text input it contains.
Also, you probably want to use "var y" to declare it -- right now,
you're using an undeclared variable.
--benD
Chunshen (Don) Li wrote:
> Hello,
>
> With the following CSS and js code, the goal
Hello,
With the following CSS and js code, the goal is when an item is clicked window's focus should go to that item (blinking cursor inside the input box), why current code does not bring up the focus while receiving no error?
TIA
function togglecell(obj) {
var x = document.getElemen