<?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"
	>
<channel>
	<title>Comments on: Using JavaScript Arithmetic Operators in ColdFusion 8</title>
	<atom:link href="http://www.simonwhatley.co.uk/using-javascript-arithmetic-operators-in-coldfusion-8/feed" rel="self" type="application/rss+xml" />
	<link>http://www.simonwhatley.co.uk/using-javascript-arithmetic-operators-in-coldfusion-8</link>
	<description>The opposite of every great idea is another great idea</description>
	<pubDate>Fri, 21 Nov 2008 19:19:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Simon</title>
		<link>http://www.simonwhatley.co.uk/using-javascript-arithmetic-operators-in-coldfusion-8#comment-4280</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Fri, 04 Jul 2008 13:04:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.simonwhatley.co.uk/?p=430#comment-4280</guid>
		<description>@gowrikumar I think you are confusing the two programming languages. ColdFusion is server-side and JavaScript is generally client-side.

1. If you want to pass a value generated by ColdFusion to JavaScript, ColdFusion needs to output the value to the page whereupon JavaScript can be used to read the value. Typically you may put the value into a formfield, give the field an ID, which can then be referenced by JavaScript.

2. If you want to use a value generated by JavaScript, you could write it into a form field and submit the form. ColdFusion can then process the submitted data.

Alternatively, JavaScript can make an AJAX request to a ColdFusion webservice, passing JavaScript generated values and or values read from the web-page using JavaScript.

3. ... I won't mention the third way as it's a nasty hack and should be avoided at all costs. Needless to say it relates to dynamically rendering the JavaScript with ColdFusion.</description>
		<content:encoded><![CDATA[<p>@gowrikumar I think you are confusing the two programming languages. ColdFusion is server-side and JavaScript is generally client-side.</p>
<p>1. If you want to pass a value generated by ColdFusion to JavaScript, ColdFusion needs to output the value to the page whereupon JavaScript can be used to read the value. Typically you may put the value into a formfield, give the field an ID, which can then be referenced by JavaScript.</p>
<p>2. If you want to use a value generated by JavaScript, you could write it into a form field and submit the form. ColdFusion can then process the submitted data.</p>
<p>Alternatively, JavaScript can make an AJAX request to a ColdFusion webservice, passing JavaScript generated values and or values read from the web-page using JavaScript.</p>
<p>3. &#8230; I won&#8217;t mention the third way as it&#8217;s a nasty hack and should be avoided at all costs. Needless to say it relates to dynamically rendering the JavaScript with ColdFusion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gowrikumar</title>
		<link>http://www.simonwhatley.co.uk/using-javascript-arithmetic-operators-in-coldfusion-8#comment-4279</link>
		<dc:creator>gowrikumar</dc:creator>
		<pubDate>Fri, 04 Jul 2008 10:53:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.simonwhatley.co.uk/?p=430#comment-4279</guid>
		<description>i want to use the cold fusion cfset value into javascript funtion and javascript function value is ued in to cold fusion</description>
		<content:encoded><![CDATA[<p>i want to use the cold fusion cfset value into javascript funtion and javascript function value is ued in to cold fusion</p>
]]></content:encoded>
	</item>
</channel>
</rss>
