<?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>Quinterox &#187; form</title>
	<atom:link href="http://www.quinterox.com/content/tag/form/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.quinterox.com/content</link>
	<description>Cesar Quinteros</description>
	<lastBuildDate>Sun, 20 Jun 2010 04:51:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>JavaScript Submitted Form</title>
		<link>http://www.quinterox.com/content/code/javascript-submitted-form/</link>
		<comments>http://www.quinterox.com/content/code/javascript-submitted-form/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 03:30:26 +0000</pubDate>
		<dc:creator>Cesar Quinteros</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[submit]]></category>

		<guid isPermaLink="false">http://www.quinterox.com/content/?p=677</guid>
		<description><![CDATA[How to submit a form using JavaScript.]]></description>
			<content:encoded><![CDATA[<p>Simply this is the code for calling JavaScript to submit a form. One good use is in case you want your submit button to be an anchored image and not a regular form button. You can attach this function to the link/ image and let it do its thing. I am currently learning Ajax so I am using the script to submit my form but not redirect or refresh the page.</p>
<pre>
document.forms['myForm'].onsubmit = function() {
       // Your code
}
</pre>
<p>Or</p>
<pre>
document.forms[0].onsubmit = function() {
       // Your code
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.quinterox.com/content/code/javascript-submitted-form/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
