Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #4211

Re: getSelection - method of document or window?

From RobG <rgqld@iinet.net.au>
Newsgroups comp.lang.javascript
Subject Re: getSelection - method of document or window?
Date 2011-07-14 22:41 -0700
Organization http://groups.google.com
Message-ID <d93d93f2-638e-44c0-ae06-d20e0c8e1f48@t38g2000prj.googlegroups.com> (permalink)
References <b108c664-9f71-4519-98c9-216429f42a73@m3g2000pre.googlegroups.com>

Show all headers | View raw


On Jul 15, 2:22 pm, RobG <rg...@iinet.net.au> wrote:
[...]
> Can someone tell me where I can find it? Alternatively, explain
> whether document.getSelection should be preferred over
> window.getSelection for some other reason than the former "works" in
> recent IE and the later doesn't.
[...]

Damn, I think I just answered my own question;

<URL: http://html5.org/specs/dom-range.html#extensions-to-other-interfaces
>

The text has spaces, so searching for "document.getSelection" doesn't
work, it must be "document . getSelection".

Cheers.

--
Rob

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

getSelection - method of document or window? RobG <rgqld@iinet.net.au> - 2011-07-14 21:22 -0700
  Re: getSelection - method of document or window? RobG <rgqld@iinet.net.au> - 2011-07-14 22:41 -0700
  Re: getSelection - method of document or window? Dr J R Stockton <reply1128@merlyn.demon.co.uk> - 2011-07-16 18:53 +0100

csiph-web