WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Text Cursor Position, Dave, November 28, 2004

Subject: Text Cursor Position From: Dave Date: November 28, 2004
I'm kind of confused about the textRange object and how to use it like in an inline frame that's content-editable.

<iframe id="editor"></iframe>

Is it possible to change the position of the text cursor using a method like:
function moveTCur(curPos){

Also, is it possible to get the cursor's position using a method like:
function getCurPos(){
var cp=getCurPos()

Thanks in advance for any help.


Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.

View All Messages
Back to WebFX