Safari window.getSelection()

Discussion in 'Javascript' started by John Allsopp, May 13, 2004.

  1. John Allsopp

    John Allsopp Guest

    Hi,

    having spent about half a day researching this, I have come to the
    conclusion that Safari window.getselection() only returns a text
    object. Can anyone confirm this?

    In which case, can anyone think of a solution to this. I would like to
    get the character offset at the start of the selection range. In
    Mozilla, this would be pretty straightforward. In Safari/Konqueror,
    has anyone got any suggestions?

    Thanks in advance,

    john
     
    John Allsopp, May 13, 2004
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andrew Bewley via DotNetMonster.com

    window to window communication (window.opener)

    Andrew Bewley via DotNetMonster.com, Feb 3, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    1,294
    Andrew Bewley via DotNetMonster.com
    Feb 3, 2005
  2. Andrew Crowe
    Replies:
    1
    Views:
    4,978
    Andrew Crowe
    Sep 13, 2004
  3. Replies:
    2
    Views:
    547
  4. Jason Quinn

    possible to getSelection from AJAX sites?

    Jason Quinn, Apr 18, 2007, in forum: Javascript
    Replies:
    1
    Views:
    165
    Peter Michaux
    Apr 21, 2007
  5. riog
    Replies:
    1
    Views:
    359
  6. riog

    window.getSelection on a textbox

    riog, Oct 17, 2007, in forum: Javascript
    Replies:
    1
    Views:
    213
    Thomas 'PointedEars' Lahn
    Oct 17, 2007
  7. Ciaran
    Replies:
    10
    Views:
    444
    Ciaran
    Nov 25, 2009
  8. RobG
    Replies:
    2
    Views:
    570
    Dr J R Stockton
    Jul 16, 2011
Loading...