<?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: Populating cftextarea richtext with Javascript</title>
	<atom:link href="http://www.anujgakhar.com/2009/02/11/populating-cftextarea-richtext-with-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.anujgakhar.com/2009/02/11/populating-cftextarea-richtext-with-javascript/</link>
	<description>My thoughts on ColdFusion, Flex and other RIA stuff....</description>
	<lastBuildDate>Wed, 08 Feb 2012 01:51:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Flüge</title>
		<link>http://www.anujgakhar.com/2009/02/11/populating-cftextarea-richtext-with-javascript/comment-page-1/#comment-3161</link>
		<dc:creator>Flüge</dc:creator>
		<pubDate>Wed, 18 Feb 2009 14:17:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/?p=300#comment-3161</guid>
		<description>I would have done the same thing and never thought to use the Dom to obtain te ID from the generated textarea.

[var msgbox = document.getElementById(&quot;mytextarea&quot;);   
msgbox.innerHTML = &#039;New Value&#039;;]

IT is really important to know that 
Coldfusion generates the Ids of the cftextarea dynamically even if u specify the Id.</description>
		<content:encoded><![CDATA[<p>I would have done the same thing and never thought to use the Dom to obtain te ID from the generated textarea.</p>
<p>[var msgbox = document.getElementById("mytextarea");<br />
msgbox.innerHTML = 'New Value';]</p>
<p>IT is really important to know that<br />
Coldfusion generates the Ids of the cftextarea dynamically even if u specify the Id.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastiaan</title>
		<link>http://www.anujgakhar.com/2009/02/11/populating-cftextarea-richtext-with-javascript/comment-page-1/#comment-3147</link>
		<dc:creator>Sebastiaan</dc:creator>
		<pubDate>Wed, 11 Feb 2009 12:12:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/?p=300#comment-3147</guid>
		<description>Second time around it failed me initially (another unreadable Captcha) but the second time it let my comment pass even though I actually got it wrong the second time as well...

I cannot for my life read this one either so this is another test ;-)

About the ID&#039;s: good that CF wants the DOM to stay intact, but it&#039;s not good for me wanting to address the CFGRID ID either via JS (your solution does work however) or via CSS. I had this issue wanting to style the grid a certain way, which would override the default EXT framework CSS - alas it didn&#039;t work. And being on a shared server I cannot possibly change the root-files :-(</description>
		<content:encoded><![CDATA[<p>Second time around it failed me initially (another unreadable Captcha) but the second time it let my comment pass even though I actually got it wrong the second time as well&#8230;</p>
<p>I cannot for my life read this one either so this is another test <img src='http://www.anujgakhar.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>About the ID&#8217;s: good that CF wants the DOM to stay intact, but it&#8217;s not good for me wanting to address the CFGRID ID either via JS (your solution does work however) or via CSS. I had this issue wanting to style the grid a certain way, which would override the default EXT framework CSS &#8211; alas it didn&#8217;t work. And being on a shared server I cannot possibly change the root-files <img src='http://www.anujgakhar.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anuj Gakhar</title>
		<link>http://www.anujgakhar.com/2009/02/11/populating-cftextarea-richtext-with-javascript/comment-page-1/#comment-3146</link>
		<dc:creator>Anuj Gakhar</dc:creator>
		<pubDate>Wed, 11 Feb 2009 11:47:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/?p=300#comment-3146</guid>
		<description>Hi Sebastiaan, I think the ID thing is to avoid any duplicate elements in the DOM, which makes sense. And this captcha sometimes gets a bit lenient, which is a good thing :) May be you were recognized as a trusted user :) On a serious note, i will find out why it didnt fail when it should. thanks for letting me know.</description>
		<content:encoded><![CDATA[<p>Hi Sebastiaan, I think the ID thing is to avoid any duplicate elements in the DOM, which makes sense. And this captcha sometimes gets a bit lenient, which is a good thing <img src='http://www.anujgakhar.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  May be you were recognized as a trusted user <img src='http://www.anujgakhar.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  On a serious note, i will find out why it didnt fail when it should. thanks for letting me know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastiaan</title>
		<link>http://www.anujgakhar.com/2009/02/11/populating-cftextarea-richtext-with-javascript/comment-page-1/#comment-3145</link>
		<dc:creator>Sebastiaan</dc:creator>
		<pubDate>Wed, 11 Feb 2009 10:53:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/?p=300#comment-3145</guid>
		<description>Hmm, I was expecting your blog to fail my Captcha... As I couldn&#039;t possible discern what the extreme long second word was, I just typed in &quot;something&quot;. And then my comment was posted! Shouldn&#039;t it have failed me? At least that&#039;s how I as a user expect a Captcha to work.</description>
		<content:encoded><![CDATA[<p>Hmm, I was expecting your blog to fail my Captcha&#8230; As I couldn&#8217;t possible discern what the extreme long second word was, I just typed in &#8220;something&#8221;. And then my comment was posted! Shouldn&#8217;t it have failed me? At least that&#8217;s how I as a user expect a Captcha to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastiaan</title>
		<link>http://www.anujgakhar.com/2009/02/11/populating-cftextarea-richtext-with-javascript/comment-page-1/#comment-3143</link>
		<dc:creator>Sebastiaan</dc:creator>
		<pubDate>Wed, 11 Feb 2009 10:51:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/?p=300#comment-3143</guid>
		<description>This would work for all CFAJAX objects, like cflayoutarea et al.

Still wonder why though this ID is created in the fly and not set the same as the name - which in Webstandards terms would be the correct way of doing it.</description>
		<content:encoded><![CDATA[<p>This would work for all CFAJAX objects, like cflayoutarea et al.</p>
<p>Still wonder why though this ID is created in the fly and not set the same as the name &#8211; which in Webstandards terms would be the correct way of doing it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

