<?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: Auto growing textareas</title>
	<atom:link href="http://assanka.net/content/tech/2009/05/04/auto-growing-textareas/feed/" rel="self" type="application/rss+xml" />
	<link>http://assanka.net/content/tech/2009/05/04/auto-growing-textareas/</link>
	<description>Just another Arb-assk2009003.turmeric.assanka.com Blogs weblog</description>
	<lastBuildDate>Fri, 25 Nov 2011 16:18:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: James Wheare</title>
		<link>http://assanka.net/content/tech/2009/05/04/auto-growing-textareas/comment-page-1/#comment-53</link>
		<dc:creator>James Wheare</dc:creator>
		<pubDate>Mon, 08 Nov 2010 22:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://assanka.net/content/tech/?p=3#comment-53</guid>
		<description>Here&#039;s some better docs for oninput http://help.dottoro.com/ljhxklln.php</description>
		<content:encoded><![CDATA[<p>Here&#8217;s some better docs for oninput <a href="http://help.dottoro.com/ljhxklln.php" rel="nofollow">http://help.dottoro.com/ljhxklln.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Wheare</title>
		<link>http://assanka.net/content/tech/2009/05/04/auto-growing-textareas/comment-page-1/#comment-52</link>
		<dc:creator>James Wheare</dc:creator>
		<pubDate>Mon, 08 Nov 2010 22:06:25 +0000</pubDate>
		<guid isPermaLink="false">http://assanka.net/content/tech/?p=3#comment-52</guid>
		<description>To get around the pasting issue (which is made worse when you paste with no keyboard interaction at all, e.g. Edit menu or right-click.) there are a couple of other events you can use. 

The non-standard onpaste event which works for everyone except Opera:
https://developer.mozilla.org/en/DOM/element.onpaste

Or much better, HTML5&#039;s oninput event which works for everyone except IE (though onpropertychanged might help there):
https://developer.mozilla.org/en/XUL/Attribute/oninput
http://msdn.microsoft.com/en-us/library/ms536956(VS.85).aspx

In my quick testing it seems onpaste is fired before the textarea&#039;s value is updated, but oninput fires after, so that&#039;s probably the main one to rely on, as long as IE can be tamed.</description>
		<content:encoded><![CDATA[<p>To get around the pasting issue (which is made worse when you paste with no keyboard interaction at all, e.g. Edit menu or right-click.) there are a couple of other events you can use. </p>
<p>The non-standard onpaste event which works for everyone except Opera:<br />
<a href="https://developer.mozilla.org/en/DOM/element.onpaste" rel="nofollow">https://developer.mozilla.org/en/DOM/element.onpaste</a></p>
<p>Or much better, HTML5&#8217;s oninput event which works for everyone except IE (though onpropertychanged might help there):<br />
<a href="https://developer.mozilla.org/en/XUL/Attribute/oninput" rel="nofollow">https://developer.mozilla.org/en/XUL/Attribute/oninput</a><br />
<a href="http://msdn.microsoft.com/en-us/library/ms536956(VS.85).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms536956(VS.85).aspx</a></p>
<p>In my quick testing it seems onpaste is fired before the textarea&#8217;s value is updated, but oninput fires after, so that&#8217;s probably the main one to rely on, as long as IE can be tamed.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

