Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Mel Smith" Newsgroups: comp.lang.javascript Subject: Re: Input Controls Date: Fri, 30 Dec 2011 10:49:29 -0700 Lines: 57 Message-ID: <9m6bteFti4U1@mid.individual.net> References: X-Trace: individual.net 1/SFk3Z7l2xnBHcjqpFazAIGz1RMjTj6jz59zGFH5Pf8n45c0L Cancel-Lock: sha1:3BTbyTNwwck00xsrlwFrhSSYVAw= X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Xref: x330-a1.tempe.blueboxinc.net comp.lang.javascript:9801 Gene said: "> > 1) Position to a particular point in a control's value. For > example, if entering a date, it could be much more user-friendly if, > when the control gets focus, the cursor were positioned just before > the days as in: > 201112@29 > where the at-sign represents the cursor. (In my app-to-be, the date > is usually in the current month, but not always.) Hi Gene: I picked up and slightly modified the xhtml code below. Maybe you will find it useful for positioning your cursor in the middle of a textarea: HTH -Mel Smith ******************** Position Cursor in Textarea block
**********************