Controlling the blinking cursor position in safari browser

This is a discussion on "Controlling the blinking cursor position in safari browser" within the JavaScript Forum section. This forum, and the thread "Controlling the blinking cursor position in safari browser 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 Nov 4th, 2006, 05:54
New Member
Join Date: Nov 2006
Location: India
Age: 26
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question Controlling the blinking cursor position in safari browser

Hi,

I want to place the blinking cursor in particular position in textbox onclick of one button. I have acheived this in javascript by using the following code

var range = txtControlObj.createTextRange();
range.move("character", globalCursorPos);
range.select();


But it is working only in IE ,bcoz safari browser doesn't support createTextRange( ) mrhotd. Is there any other method in javascript to acheive this one..Pls help to do this out..

Thanks
vikki.
Reply With Quote

Reply

Tags
cursor position

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
Controlling page layouts for printing in IE lunarfish Web Page Design 0 Jul 17th, 2007 13:01
finding cursor position bahy JavaScript Forum 4 Jun 26th, 2007 14:07
Safari Browser Does Not Read My CSS (IE DOES) webnewbie Web Page Design 6 Mar 6th, 2007 23:51
Controlling QuickTime with JS liby JavaScript Forum 0 Mar 6th, 2007 13:38
Controlling Textarea Size With CSS xKillswitchx Web Page Design 2 Mar 4th, 2006 06:11


All times are GMT. The time now is 04:26.


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