<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CFchimp &#187; Javascript</title>
	<atom:link href="http://www.cfchimp.com/wordpress/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cfchimp.com/wordpress</link>
	<description>monkey love coldfusion</description>
	<lastBuildDate>Tue, 24 Jan 2012 03:50:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Saving to a database with ColdFusion using jQuery</title>
		<link>http://www.cfchimp.com/wordpress/2010/05/saving-to-a-database-with-coldfusion-using-jquery/</link>
		<comments>http://www.cfchimp.com/wordpress/2010/05/saving-to-a-database-with-coldfusion-using-jquery/#comments</comments>
		<pubDate>Sat, 01 May 2010 15:43:54 +0000</pubDate>
		<dc:creator>Chris Simmons</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.cfchimp.com/wordpress/?p=239</guid>
		<description><![CDATA[A commenter asked me how to extend a previous jQuery post to perform the database save via ColdFusion.  It is REALLY easy (and please keep in mind this is meant to be a SIMPLE example, not production code).  From the jQuery side my example only required the following code to ship the data off to [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>A commenter asked me how to extend <a href="http://www.cfchimp.com/wordpress/2010/04/use-jquery-to-enable-submit-button-and-set-form-action/">a previous jQuery post</a> to perform the database save via ColdFusion.  It is REALLY easy (and please keep in mind this is meant to be a SIMPLE example, not production code).  From the jQuery side my example only required the following code to ship the data off to ColdFusion:<br />
<code><br />
function fSave(){<br />
	you=$("#you").val();<br />
	// Try to save<br />
	$.get("adduser.cfm?"+"you="+you , function(data){<br />
		// Result<br />
		alert(data);<br />
		window.location=location.href;<br />
	});<br />
}<br />
</code><br />
The adduser.cfm page then validates and inserts the data and returns a success or failure message.</p>
<p><a href="http://www.cfchimp.com/chimp/jquery-enabled-form-2.cfm" target="_blank">See it here</a> | <a href="http://www.cfchimp.com/wordpress/wp-content/uploads/2010/05/jq-save-with-cf.zip">Get it here</a>.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.cfchimp.com/wordpress/2010/05/saving-to-a-database-with-coldfusion-using-jquery/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Use jQuery to enable submit button and set form action</title>
		<link>http://www.cfchimp.com/wordpress/2010/04/use-jquery-to-enable-submit-button-and-set-form-action/</link>
		<comments>http://www.cfchimp.com/wordpress/2010/04/use-jquery-to-enable-submit-button-and-set-form-action/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 17:54:30 +0000</pubDate>
		<dc:creator>Chris Simmons</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.cfchimp.com/wordpress/?p=228</guid>
		<description><![CDATA[I recently had to do a quick bit of coding to only accept data from a form if JavaScript was enabled. This example starts with a form that has no action and a disabled submit button.  When jQuery&#8217;s .ready() fires though it enables the submit button and attaches the appropriate action. Please note the example [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had to do a quick bit of coding to only accept data from a form if JavaScript was enabled.</p>
<p>This example starts with a form that has no action and a disabled submit button.  When jQuery&#8217;s .ready() fires though it enables the submit button and attaches the appropriate action.</p>
<p>Please note the example file is in ColdFusion so your mileage may vary slightly for your own use.</p>
<p><a href="http://www.cfchimp.com/chimp/jquery-enabled-form.cfm" target="_blank">See it here</a> | <a href="http://www.cfchimp.com/wordpress/wp-content/uploads/2010/04/jquery-enabled-form.cfm_.zip">Get it here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cfchimp.com/wordpress/2010/04/use-jquery-to-enable-submit-button-and-set-form-action/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using jQuery style a cftooltip span</title>
		<link>http://www.cfchimp.com/wordpress/2010/02/using-jquery-style-a-cftooltip-span/</link>
		<comments>http://www.cfchimp.com/wordpress/2010/02/using-jquery-style-a-cftooltip-span/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 15:36:20 +0000</pubDate>
		<dc:creator>Chris Simmons</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.cfchimp.com/wordpress/?p=202</guid>
		<description><![CDATA[It&#8217;s not hard to figure out how to style the box that pops up when using cftooltip.  It is controlled by the .yui-tt class. /* Tool tip styling */ .yui-tt { color: #444; font-size:110%; border: 2px solid #1C64D1; background-color: #eee; padding: 10px; width:250px; cursor:help; } But how do you style the text that is triggering [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s not hard to figure out how to style the box that pops up when using cftooltip.  It is controlled by the .yui-tt class.<br />
<code><br />
/* Tool tip styling */<br />
.yui-tt {<br />
color: #444;<br />
font-size:110%;<br />
border: 2px solid #1C64D1;<br />
background-color: #eee;<br />
padding: 10px;<br />
width:250px;<br />
cursor:help;<br />
}</code></p>
<p>But how do you style the text that is triggering the tooltip?  cftooltip is going to generate a span around your text with the id of cf_tooltip_999999999 (where 999999999 is some random number).  I didn&#8217;t want to add another span to the mix to provide styling so I turned to jQuery for a simple, quick solution.</p>
<p>In the css file I added a class:<br />
<code><br />
.terms{<br />
color:#168FC0;<br />
border-bottom:1px dashed #168FC0;<br />
text-decoration:none;<br />
margin-bottom:10px;<br />
font-weight:bold;<br />
}<br />
</code><br />
In the jQuery .ready() function I added this line:<br />
<code><br />
$("[id^=cf_tooltip_]").addClass("terms");<br />
</code><br />
The result is that the text which triggers all cftooltips is now controlled by the .terms class.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cfchimp.com/wordpress/2010/02/using-jquery-style-a-cftooltip-span/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;m w3schools JavaScript certified</title>
		<link>http://www.cfchimp.com/wordpress/2009/05/im-w3schools-javascript-certified/</link>
		<comments>http://www.cfchimp.com/wordpress/2009/05/im-w3schools-javascript-certified/#comments</comments>
		<pubDate>Thu, 07 May 2009 18:28:22 +0000</pubDate>
		<dc:creator>Chris Simmons</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Misc programming]]></category>

		<guid isPermaLink="false">http://www.cfchimp.com/wordpress/?p=136</guid>
		<description><![CDATA[I&#8217;ve been trying to brush up on my JavaScript lately.¬† I took a good first step by passing the w3schools JavaScript certification.¬† Click the image below to check out the certificate. I have a ways to go, but this is a start.¬† Next up&#8230; jQuery proficiency.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying to brush up on my JavaScript lately.¬† I took a good first step by passing the <a href="http://www.w3schools.com/cert/cert_javascript.asp" target="_blank">w3schools JavaScript certification</a>.¬† Click the image below to check out the certificate.</p>
<p><a href="http://www.refsnesdata.no/certification/w3certified.asp?email=tsatf@hotmail.com" target="_blank"><img class="alignnone size-full wp-image-139" title="w3schools certified" src="http://www.cfchimp.com/wordpress/wp-content/uploads/2009/05/w3cert.png" alt="w3schools certified" width="200" height="68" /></a></p>
<p>I have a ways to go, but this is a start.¬† Next up&#8230; <a href="http://jquery.com/" target="_blank">jQuery</a> proficiency.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cfchimp.com/wordpress/2009/05/im-w3schools-javascript-certified/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

