Re: window.getSelection()



Martin Honnen wrote:
Jeff wrote:

Is there a way to do that for text inside textareas for Firefox or


textareElement.value.substring(textareaElement.selectionStart, textareaElement.selectionEnd)
works with Mozilla/Firefox and Opera. Not sure about Safari.


Nice to see you around. You are the master of the DOM!

Jeff
.



Relevant Pages

  • Re: My Library update
    ... mistakes to be found, but the code has withstood FF3, FF3.5, Safari 3, ... Safari 4, three versions of Opera, Chrome, Netscape back to 6.2 and IE ... definitely not on the list as I didn't have a Mac at the time. ...
    (comp.lang.javascript)
  • Re: Firefox 2.0.0.8
    ... Come buona alternativa di consiglio Camino oppure Opera. ... Giusto un mese fa ho completato la transizione da ff a safari. ...
    (it.comp.macintosh)
  • Re: Safari and Window.onload timing
    ... First it was Safari, ... now it is Opera, will it be Ice Weasel next? ... GEORSS information into the map. ... Javascript Best Practices -http://www.JavascriptToolbox.com/bestpractices/ ...
    (comp.lang.javascript)
  • EC Day 1 - The decklists of the finalists
    ... 1x Alan Sovereign Adv 6 AUS DOM for pre Ventrue:3 ... Master ... 1x Giant's Blood ... Reaction ...
    (rec.games.trading-cards.jyhad)
  • Re: EC Day 1 - The decklists of the finalists
    ... 1x Alan Sovereign Adv 6 AUS DOM for pre Ventrue:3 ... Master ... 1x Giant's Blood ... Reaction ...
    (rec.games.trading-cards.jyhad)