Click here to Skip to main content
15,895,606 members
Home / Discussions / Web Development
   

Web Development

 
QuestionJavascript: How to get/set caret position in TextArea control? Pin
bin_bin124-Aug-05 11:02
bin_bin124-Aug-05 11:02 
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 
ErrrD'Oh! | :doh: , this might seem silly, but have you tried anything like this:

var pos;<br />
pos = TextArea1.caretPos;


or even put var pos somewhere outside your function. I's worth a shot, considering IE's bug consistency.. Wink | ;)

Another thing, you might try checking out CP's discussion board page source when you're posting stuff, they're also using JS for textarea (or so it seemsSmile | :) )

Good luckCool | :cool:

---
http://sprdsoft.cmar-net.org - We Sprd You Softly
Our site features contents and several images.
Better check it out before the site grows even dumber.
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 
GeneralLoading controls dynamically Pin
totig23-Aug-05 19:29
totig23-Aug-05 19:29 
GeneralRe: Loading controls dynamically Pin
minhpc_bk23-Aug-05 21:50
minhpc_bk23-Aug-05 21:50 
Generalinfobar Pin
Sam 200623-Aug-05 18:47
Sam 200623-Aug-05 18:47 
GeneralRe: infobar Pin
T1TAN23-Aug-05 22:50
T1TAN23-Aug-05 22:50 
GeneralRe: infobar Pin
Sam 200624-Aug-05 5:51
Sam 200624-Aug-05 5:51 
GeneralRe: infobar Pin
T1TAN24-Aug-05 6:01
T1TAN24-Aug-05 6:01 
GeneralJAVASCRIPT HELP Pin
dgap23-Aug-05 8:26
dgap23-Aug-05 8:26 
GeneralRe: JAVASCRIPT HELP Pin
Guffa23-Aug-05 9:16
Guffa23-Aug-05 9:16 
GeneralTitle: textarea character counting question (javascript) Pin
pduncan8823-Aug-05 5:06
pduncan8823-Aug-05 5:06 
GeneralRe: Title: textarea character counting question (javascript) Pin
Sarvesvara (BVKS) Dasa23-Aug-05 17:27
Sarvesvara (BVKS) Dasa23-Aug-05 17:27 
GeneralSetting Content-type charset for HTML Pin
Anonymous22-Aug-05 11:06
Anonymous22-Aug-05 11:06 
QuestionQuestion - Key Generation (Activation) Pin
Mike Doner22-Aug-05 10:30
Mike Doner22-Aug-05 10:30 
GeneralRe: Question - Key Generation (Activation) Pin
Christian Graus22-Aug-05 11:04
protectorChristian Graus22-Aug-05 11:04 
GeneralAbt html drop down combo Pin
Anita Mistry22-Aug-05 0:12
Anita Mistry22-Aug-05 0:12 
GeneralRe: Abt html drop down combo Pin
Guffa22-Aug-05 6:17
Guffa22-Aug-05 6:17 

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.