Re: Focus, focus, where's my focus?

2004-03-02 Thread Don
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

Re: Focus, focus, where's my focus?

2004-03-02 Thread Don
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 > >

RE: Focus, focus, where's my focus?

2004-03-02 Thread Ben Densmore
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

Re: Focus, focus, where's my focus?

2004-03-02 Thread Ben Doom
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

Focus, focus, where's my focus?

2004-03-02 Thread Don
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