Click to See Complete Forum and Search --> : The flicking writing bar


cannnn
08-26-2004, 08:10 AM
How can I put the flicking writing bar into a text box ? I want to change the place of the bar from one textbox to another textbox with a function. (onkeypress function) How can I do it

cannnn
08-26-2004, 08:30 AM
I want to do this inside of a datagrid

cannnn
08-26-2004, 08:48 AM
The thing I want to do is activating the textbox with clicking a button from the keyboard (Sorry for bad english)

Pittimann
08-26-2004, 10:19 AM
Hi!

Having seen your other thread (onKeyPress), I think you know how to deal with the events and how to call a function when the event is fired.

Inside your function, you can use:

document.formname.textfieldname.focus();

where you will have to replace 'formname' with the name of your form and 'textfieldname' with the name of the text field, you want to "activate".

Cheers - Pit

cannnn
08-26-2004, 10:36 AM
Thanks for your help, before you said , I guessed the focus method from the onFocus event handler and solved one of my problems. Anyway thanks.