Click here to Skip to main content
15,906,211 members
Home / Discussions / Web Development
   

Web Development

 
QuestionI want Close It. Pin
LEE_3451527-Aug-05 4:39
LEE_3451527-Aug-05 4:39 
AnswerRe: I want Close It. Pin
Guffa27-Aug-05 5:30
Guffa27-Aug-05 5:30 
QuestionJavascript Pin
wpcolleen26-Aug-05 5:24
wpcolleen26-Aug-05 5:24 
Question2 Javascript Problems Pin
totig26-Aug-05 1:25
totig26-Aug-05 1:25 
AnswerRe: 2 Javascript Problems Pin
Guffa26-Aug-05 10:40
Guffa26-Aug-05 10:40 
QuestionActiveX to server communication Pin
vinodraut25-Aug-05 20:07
vinodraut25-Aug-05 20:07 
QuestionISAPI Configuration in Windows Server 2003 Pin
Vasudevan Deepak Kumar25-Aug-05 7:20
Vasudevan Deepak Kumar25-Aug-05 7:20 
AnswerRe: ISAPI Configuration in Windows Server 2003 Pin
minhpc_bk25-Aug-05 15:07
minhpc_bk25-Aug-05 15:07 
Questionhistory.length behaves differently in IE and Firefox? Pin
smaaaart25-Aug-05 4:46
smaaaart25-Aug-05 4:46 
QuestionJavascript question Pin
macca2425-Aug-05 1:21
macca2425-Aug-05 1:21 
AnswerRe: Javascript question Pin
Sarvesvara (BVKS) Dasa27-Aug-05 1:45
Sarvesvara (BVKS) Dasa27-Aug-05 1:45 
GeneralRe: Javascript question Pin
macca2428-Aug-05 22:20
macca2428-Aug-05 22:20 
AnswerRe: Javascript question Pin
Sarvesvara (BVKS) Dasa29-Aug-05 14:21
Sarvesvara (BVKS) Dasa29-Aug-05 14:21 
GeneralRe: Javascript question Pin
macca2429-Aug-05 22:52
macca2429-Aug-05 22:52 
QuestionHTTP 1.1 server compliance/conformance test? Pin
Moak25-Aug-05 0:43
Moak25-Aug-05 0:43 
QuestionJavascript: How to get/set caret position in TextArea control? Pin
bin_bin124-Aug-05 11:02
bin_bin124-Aug-05 11:02 
Hello, there,
I'd like to know whether there is a way to get/set caret position in textarea control in Javascript. I tried very hard to seach the Internet and didn't find anything useful. Please help me out.

Here is an example of how I want it to work. Say I have two textarea boxes(TextArea1 and TextArea2) and a button. When the user clicks on the button, the text in the textArea1 is copied to textarea2, textarea1 lose focus and textarea2 will get the focus. All these are very easy to implement. But what I want is the caret in the TextArea2 set to the position of caret position in TextArea1 before the button click.

Please help me.

Thank you very much in advance.

Bin
AnswerRe: Javascript: How to get/set caret position in TextArea control? Pin
Shog924-Aug-05 13:16
sitebuilderShog924-Aug-05 13:16 
GeneralCan you give me some details? Pin
bin_bin125-Aug-05 3:42
bin_bin125-Aug-05 3:42 
AnswerRe: Can you give me some details? Pin
Shog925-Aug-05 5:07
sitebuilderShog925-Aug-05 5:07 
GeneralThank you so much. Pin
bin_bin125-Aug-05 5:15
bin_bin125-Aug-05 5:15 
AnswerRe: javascript How to get/set caret position in TextArea control? Pin
T1TAN24-Aug-05 22:26
T1TAN24-Aug-05 22:26 
GeneralRe: javascript How to get/set caret position in TextArea control? Pin
bin_bin125-Aug-05 3:44
bin_bin125-Aug-05 3:44 
GeneralRe: javascript How to get/set caret position in TextArea control? Pin
T1TAN25-Aug-05 21:19
T1TAN25-Aug-05 21:19 
QuestionHow can i read itens from a datagrid using Javascript? Pin
BROCA-BRAZIL24-Aug-05 8:53
BROCA-BRAZIL24-Aug-05 8:53 
AnswerRe: How can i read itens from a datagrid using Javascript? Pin
Sarvesvara (BVKS) Dasa27-Aug-05 1:47
Sarvesvara (BVKS) Dasa27-Aug-05 1:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.