What do you want to do with this? If you press a key inside a text field, then it already has the focus... Jaime -----Mensaje original----- De: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu] En nombre de Sabrina Leandro Enviado el: miércoles, 09 de abril de 2003 14:07 Para: javascript at LaTech.edu Asunto: [Javascript] Is this right Javascript? Hi, Could someone tell me if this would work? Considering there is a richtext element in a form called formulario? function window.document.formulario.richtext.onkeydown() { return SetFocus(); } thanks, Sabrina __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript