how to set the cursor to display on a particular text field

This is a discussion on "how to set the cursor to display on a particular text field" within the JavaScript Forum section. This forum, and the thread "how to set the cursor to display on a particular text field are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Aug 27th, 2005, 04:33
New Member
Join Date: Aug 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
how to set the cursor to display on a particular text field

Hi,

I would like to find out the followings:
1) how to set the cursor to a particular textbox depending on the value entered (after the alert message or without alert message)
2) how to make the prg to execute the js function (in textbox2row1) if the values changes in previous field(textbox1row1) but the value in the current textbox(textbox2row1) no change.

Tks
Reply With Quote

  #2 (permalink)  
Old Aug 27th, 2005, 06:21
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
1) how to set the cursor to a particular textbox depending on the value entered (after the alert message or without alert message)
use document.getElementById("fieldname").focus()

For part 2 of your question the logic on it isn't clear to me.
Reply With Quote
Reply

Tags
set, cursor, display, particular, text, field

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
making text field text disapear Phixon JavaScript Forum 4 Feb 2nd, 2008 07:49
[SOLVED] Field validation and changing display properties... c_martini JavaScript Forum 12 Sep 25th, 2007 11:27
Non-text field Validation NewDesigner JavaScript Forum 6 Nov 24th, 2006 22:34
Display Problem: Form-->Legend field in Firefox SuperGrover1981 Web Page Design 2 Sep 5th, 2006 18:05
validate text field to db field jtesolin Classic ASP 1 Jul 18th, 2006 17:48


All times are GMT. The time now is 19:09.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43