Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 11th, 2007, 03:38 AM
Authorized User
 
Join Date: Sep 2007
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default Put cursor at the end of input text

Hi,

I have an input text box in my javascript code. When an event is fired, I need to set the cursor at the end of the text in the input text box but when I call:
Code:
textBox.focus()
the cursor is put at the first char of the text.

Any idea is appreciated.

 
Old October 11th, 2007, 04:49 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919
Default

Hi Peace2007!!

Offcourse you can do this
plz visit
http://www.webmasterworld.com/forum91/4527.htm

other useful link
http://weblogs.asp.net/skillet/archi...24/395838.aspx

hope this will help you


Cheers :)

vinod





Similar Threads
Thread Thread Starter Forum Replies Last Post
input validation at client end guru_gautam ASP.NET 1.0 and 1.1 Professional 0 February 9th, 2007 06:03 AM
How to put a value into another form's text box? alastair Access VBA 3 December 20th, 2006 06:19 PM
Multiple records to be put in text boxes Moumou Classic ASP Databases 3 September 3rd, 2004 06:33 PM
Extract text from text file & put in dropdown box tsukey Beginning PHP 5 July 20th, 2004 09:49 PM
where to put 'end'?? peanutz Classic ASP Databases 2 May 18th, 2004 11:33 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.