<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: getSelection() Workaround for Safari 1.3, 2.0 and Firefox 1.0.3</title>
	<atom:link href="http://joemaller.com/2005/04/24/getselection-workaround/feed/" rel="self" type="application/rss+xml" />
	<link>http://joemaller.com/2005/04/24/getselection-workaround/</link>
	<description>.com</description>
	<lastBuildDate>Wed, 17 Mar 2010 14:28:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jim</title>
		<link>http://joemaller.com/2005/04/24/getselection-workaround/#comment-151731</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Thu, 28 May 2009 17:19:39 +0000</pubDate>
		<guid isPermaLink="false">http://joemaller.com/2005/04/24/post503/503#comment-151731</guid>
		<description>Very nice reading, it helped me a lot!</description>
		<content:encoded><![CDATA[<p>Very nice reading, it helped me a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke</title>
		<link>http://joemaller.com/2005/04/24/getselection-workaround/#comment-102585</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Wed, 10 Dec 2008 23:42:17 +0000</pubDate>
		<guid isPermaLink="false">http://joemaller.com/2005/04/24/post503/503#comment-102585</guid>
		<description>This is great! It works great selecting text on the page, but it won&#039;t work when select text in a textarea. Is that possible?</description>
		<content:encoded><![CDATA[<p>This is great! It works great selecting text on the page, but it won&#8217;t work when select text in a textarea. Is that possible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://joemaller.com/2005/04/24/getselection-workaround/#comment-91853</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Tue, 04 Nov 2008 02:49:51 +0000</pubDate>
		<guid isPermaLink="false">http://joemaller.com/2005/04/24/post503/503#comment-91853</guid>
		<description>@ekbworldwide  I don&#039;t think you can return HTML, but you can apparently grab the DOM nodes which can be translated back into HTML. I&#039;ve never done it, but try this post as a place to start:

http://groups.google.com/group/comp.lang.javascript/msg/db76484c36bde1be</description>
		<content:encoded><![CDATA[<p>@ekbworldwide  I don&#8217;t think you can return HTML, but you can apparently grab the DOM nodes which can be translated back into HTML. I&#8217;ve never done it, but try this post as a place to start:</p>
<p><a href="http://groups.google.com/group/comp.lang.javascript/msg/db76484c36bde1be" rel="nofollow">http://groups.google.com/group/comp.lang.javascript/msg/db76484c36bde1be</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ekbworldwide</title>
		<link>http://joemaller.com/2005/04/24/getselection-workaround/#comment-91825</link>
		<dc:creator>ekbworldwide</dc:creator>
		<pubDate>Tue, 04 Nov 2008 00:36:06 +0000</pubDate>
		<guid isPermaLink="false">http://joemaller.com/2005/04/24/post503/503#comment-91825</guid>
		<description>I ended up at thread by googling
intitle:getSelection

I hope somebody can answer my question.

Using a bookmarklet I can grab a selection as text - tmp=document.getSelection(); - my question is - how can I grab a selection as html?</description>
		<content:encoded><![CDATA[<p>I ended up at thread by googling<br />
intitle:getSelection</p>
<p>I hope somebody can answer my question.</p>
<p>Using a bookmarklet I can grab a selection as text &#8211; tmp=document.getSelection(); &#8211; my question is &#8211; how can I grab a selection as html?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: winderboy</title>
		<link>http://joemaller.com/2005/04/24/getselection-workaround/#comment-47164</link>
		<dc:creator>winderboy</dc:creator>
		<pubDate>Fri, 20 Jun 2008 09:07:08 +0000</pubDate>
		<guid isPermaLink="false">http://joemaller.com/2005/04/24/post503/503#comment-47164</guid>
		<description>FF:
var selection = window.getSelection();
if(selection.selectionStart==selection.selectionEnd)
{
  alert(&quot;you haven&#039;t select any text!&quot;);
}</description>
		<content:encoded><![CDATA[<p>FF:<br />
var selection = window.getSelection();<br />
if(selection.selectionStart==selection.selectionEnd)<br />
{<br />
  alert(&#8220;you haven&#8217;t select any text!&#8221;);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: -kinetic</title>
		<link>http://joemaller.com/2005/04/24/getselection-workaround/#comment-13595</link>
		<dc:creator>-kinetic</dc:creator>
		<pubDate>Tue, 06 Mar 2007 05:55:28 +0000</pubDate>
		<guid isPermaLink="false">http://joemaller.com/2005/04/24/post503/503#comment-13595</guid>
		<description>Anybody know how to get a range object from selection for safari?  I want to be able to clone the range, like mentioned above, but unsure of how to go from selection to range without a getRangeAt function.</description>
		<content:encoded><![CDATA[<p>Anybody know how to get a range object from selection for safari?  I want to be able to clone the range, like mentioned above, but unsure of how to go from selection to range without a getRangeAt function.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ice</title>
		<link>http://joemaller.com/2005/04/24/getselection-workaround/#comment-10191</link>
		<dc:creator>ice</dc:creator>
		<pubDate>Thu, 18 Jan 2007 10:12:06 +0000</pubDate>
		<guid isPermaLink="false">http://joemaller.com/2005/04/24/post503/503#comment-10191</guid>
		<description>&lt;p&gt;window.getSelection() can&#039;t get Selection in IFrame for Safari? 
any other ways?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>window.getSelection() can&#8217;t get Selection in IFrame for Safari?<br />
any other ways?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://joemaller.com/2005/04/24/getselection-workaround/#comment-1332</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Wed, 17 May 2006 15:50:38 +0000</pubDate>
		<guid isPermaLink="false">http://joemaller.com/2005/04/24/post503/503#comment-1332</guid>
		<description>&lt;p&gt;cross-browser: http://www.quirksmode.org/js/selected.html&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>cross-browser: <a href="http://www.quirksmode.org/js/selected.html" rel="nofollow">http://www.quirksmode.org/js/selected.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
