<?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>jQuery Mania</title>
	<atom:link href="http://jquerymania.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jquerymania.com</link>
	<description>The Ultimate Resource for jQuery!</description>
	<lastBuildDate>Sat, 02 Jun 2012 18:52:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Form Validation with jQuery</title>
		<link>http://jquerymania.com/2012/05/form-validation-with-jquery/</link>
		<comments>http://jquerymania.com/2012/05/form-validation-with-jquery/#comments</comments>
		<pubDate>Wed, 30 May 2012 01:47:59 +0000</pubDate>
		<dc:creator>Alex Bachuk</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://jquerymania.com/?p=38</guid>
		<description><![CDATA[Nowadays almost every single website has a form of some kind, it may be contact, membership application, shopping cart or any other. Forms make it easier for visitors to interact with a website and for owners &#8211; collect data or just provide convenience for their visitors. Having this convenience website admins or owners need to...]]></description>
				<content:encoded><![CDATA[<p>Nowadays almost every single website has a form of some kind, it may be contact, membership application, shopping cart or any other. Forms make it easier for visitors to interact with a website and for owners &#8211; collect data or just provide convenience for their visitors. Having this convenience website admins or owners need to worry about data submitted to these forms. Sometimes it can be as harmless as <em>empty last name field</em> or as dangerous as <em>SQL injection</em>. That&#8217;s why all forms should use validation, either back-end (PHP) or front-end (JavaScript). the latter would provide better user experience, but still backend development is required &#8211; at least for some elements to avoid malicious code injected into the form. The reason for that is JavaScript validation can be easily turned off from the console (webkit developer tools or firebug) by anyone even if they don&#8217;t have admin access to a website.</p>
<p><img class="aligncenter size-full wp-image-39" src="http://jquerymania.com/wp-content/uploads/2012/05/jQuery-Validation.png" alt="" width="300" height="213" /></p>
<p>jQuery Validation Plugin&nbsp;<a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/" target="_blank">http://bassistance.de/jquery-plugins/jquery-plugin-validation/</a>&nbsp; is very popular and powerful plugin. Can be integrated in a project from the very beginning or plugged into existing form. What is great about the plugin is support for multiple languages, custom rules for pretty much any type of form input and it&#8217;s constantly developed and updated. Here are few examples of how it works and how to implement these techniques.</p>
<p>1. Let&#8217;s take a look at the very basic example. Simple form. In this case only name and email (also checking for valid email address) is required.</p>
<pre class="brush: xml; title: ; notranslate">&amp;nbsp;
&lt;form id=&quot;mainForm&quot; action=&quot;formhandler.php&quot; method=&quot;post&quot;&gt;
	&lt;div&gt;
		&lt;label form=&quot;name&quot;&gt;Name&lt;/label&gt;
		&lt;input type=&quot;text&quot; id=&quot;name&quot; name=&quot;name&quot;&gt;
	&lt;/div&gt;
			
	&lt;div&gt;
		&lt;label form=&quot;email&quot;&gt;Email&lt;/label&gt;
		&lt;input type=&quot;email&quot; id=&quot;email&quot; name=&quot;email&quot;&gt;
	&lt;/div&gt;
			
	&lt;div&gt;
		&lt;label form=&quot;phone&quot;&gt;Phone&lt;/label&gt;
		&lt;input type=&quot;text&quot; id=&quot;phone&quot; name=&quot;phone&quot;&gt;
	&lt;/div&gt;
			
	&lt;div&gt;
		&lt;label form=&quot;type&quot;&gt;Type&lt;/label&gt;
		&lt;select id=&quot;type&quot; name=&quot;type&quot;&gt;
			&lt;option value=&quot;jQuery&quot;&gt;jQuery&lt;/option&gt;
			&lt;option value=&quot;PHP&quot;&gt;PHP&lt;/option&gt;
			&lt;option value=&quot;HTML&quot;&gt;HTML&lt;/option&gt;
			&lt;option value=&quot;CSS&quot;&gt;CSS&lt;/option&gt;
		&lt;/select&gt;
	&lt;/div&gt;
			
	&lt;div&gt;
		&lt;input type=&quot;submit&quot; value=&quot;Submit&quot; id=&quot;submit&quot;&gt;
	&lt;/div&gt;
					
&lt;/form&gt;
</pre>
<p>after applying some css, latest jquery and the plugin, some rules that apply to this specific form need to be included. In order to write the rules we need to know input name attribute. So, basic rule looks like this:</p>
<p><strong>name: {&nbsp;required: true&nbsp;}</strong></p>
<p>And here is entire jquery.</p>
<pre class="brush: jscript; title: ; notranslate">
$(&quot;#mainForm&quot;).validate({
	rules: {
	  name: {
		required: true
		},
	  email: {
		required: true,
		email:true
	  },
	  type: {
		required: true
	  }
	      },
	messages: {
	  name: {
		required: &quot;*&quot;
		},
	  email: {
		required: &quot;*&quot;,
		email: &quot;*&quot;
		},
	  message: {
		required: &quot;*&quot;
		}
	},
    errorPlacement: function(error, element) {
	error.hide().insertAfter(element).fadeIn(350);
	error.siblings('label').addClass('label-error');
    }
</pre>
<p><a href="http://alexbachuk.com/demo/jq-validation/" target="_blank">Live Demo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jquerymania.com/2012/05/form-validation-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Responsive jQuery WordPress Slide Plugin: Soliloquy</title>
		<link>http://jquerymania.com/2012/05/responsive-jquery-wordpress-slide-plugin-soliloquy/</link>
		<comments>http://jquerymania.com/2012/05/responsive-jquery-wordpress-slide-plugin-soliloquy/#comments</comments>
		<pubDate>Tue, 22 May 2012 03:37:55 +0000</pubDate>
		<dc:creator>Jake Rutter</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://jquerymania.com/?p=29</guid>
		<description><![CDATA[Saw this great plugin retweeted by my host wpengine.com called Soliloquy. Responsive design is the biggest craze right now in web, its being talked about everywhere. There are already quite a few responsive slideshow plugins built in jQuery &#8211; but I like this one because its a WordPress plugin with a great looking interface, that takes...]]></description>
				<content:encoded><![CDATA[<p>Saw this great plugin retweeted by my host <a href="http://www.wpengine.com">wpengine.com</a> called <a href="http://wpmu.org/soliloquy-the-best-responsive-jquery-slider-plugin-for-wordpress/">Soliloquy</a>. Responsive design is the biggest craze right now in web, its being talked about everywhere. There are already quite a few responsive slideshow plugins built in jQuery &#8211; but I like this one because its a WordPress plugin with a great looking interface, that takes advantage of the media uploader built directly into WordPress. Check it out!</p>
]]></content:encoded>
			<wfw:commentRss>http://jquerymania.com/2012/05/responsive-jquery-wordpress-slide-plugin-soliloquy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery Conference 2012 &#8211; CA</title>
		<link>http://jquerymania.com/2012/05/jquery-conf/</link>
		<comments>http://jquerymania.com/2012/05/jquery-conf/#comments</comments>
		<pubDate>Tue, 22 May 2012 03:23:37 +0000</pubDate>
		<dc:creator>Jake Rutter</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Featured]]></category>

		<guid isPermaLink="false">http://jquerymania.com/?p=23</guid>
		<description><![CDATA[jQuery is holding an official conference in San Francisco, CA on June 28-29 &#8211; tickets are on sale now.]]></description>
				<content:encoded><![CDATA[<p>jQuery is holding an official conference in San Francisco, CA on June 28-29 &#8211; <a href="http://events.jquery.org/2012/sf/">tickets are on sale now</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jquerymania.com/2012/05/jquery-conf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Direction-Aware Hover Effect &#8211; jQuery Hover Direction</title>
		<link>http://jquerymania.com/2012/04/direction-aware-hover-effect-jquery-hover-direction/</link>
		<comments>http://jquerymania.com/2012/04/direction-aware-hover-effect-jquery-hover-direction/#comments</comments>
		<pubDate>Mon, 09 Apr 2012 16:52:35 +0000</pubDate>
		<dc:creator>Jake Rutter</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://jquerymania.com/?p=20</guid>
		<description><![CDATA[Just stumbled upon this cool jQuery plugin from a tweet called jQuery Hover Dir. For most jQuery hover effects, its a simple up/down hover &#8211; this effect actually follows the direction of the mouse. Pretty cool, check it out!]]></description>
				<content:encoded><![CDATA[<p>Just stumbled upon this cool jQuery plugin from a tweet called <a href="http://tympanus.net/TipsTricks/DirectionAwareHoverEffect/index.html">jQuery Hover Dir</a>. For most jQuery hover effects, its a simple up/down hover &#8211; this effect actually follows the direction of the mouse. Pretty cool, check it out!</p>
]]></content:encoded>
			<wfw:commentRss>http://jquerymania.com/2012/04/direction-aware-hover-effect-jquery-hover-direction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dropkick &#8211; a plugin for beautiful drop-downs</title>
		<link>http://jquerymania.com/2012/04/dropkick-a-plugin-for-beautiful-drop-downs/</link>
		<comments>http://jquerymania.com/2012/04/dropkick-a-plugin-for-beautiful-drop-downs/#comments</comments>
		<pubDate>Sun, 08 Apr 2012 14:00:38 +0000</pubDate>
		<dc:creator>Jake Rutter</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://jquerymania.wpengine.com/?p=17</guid>
		<description><![CDATA[I recently came across this plugin called DropKick, which allows you to make really nicely styled drop-down menus. Previously, I had only known about jQuery UI Selectmenu widget by Filament Group, which I was never a huge fan of because of it&#8217;s size and dependency on jQuery UI. Dropkick&#8217;s allow dependency is the jQuery library...]]></description>
				<content:encoded><![CDATA[<p>I recently came across this plugin called <a href="http://jamielottering.github.com/DropKick/">DropKick</a>, which allows you to make really nicely styled drop-down menus. Previously, I had only known about <a href="http://filamentgroup.com/lab/jquery_ui_selectmenu_an_aria_accessible_plugin_for_styling_a_html_select/">jQuery UI Selectmenu</a> widget by Filament Group, which I was never a huge fan of because of it&#8217;s size and dependency on jQuery UI. Dropkick&#8217;s allow dependency is the jQuery library itself and weighs in at only 11kb before minification.</p>
<p>Will definitely look to use this in a future project.</p>
]]></content:encoded>
			<wfw:commentRss>http://jquerymania.com/2012/04/dropkick-a-plugin-for-beautiful-drop-downs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery 1.7.2 Released</title>
		<link>http://jquerymania.com/2012/04/jquery-1-7-2-released/</link>
		<comments>http://jquerymania.com/2012/04/jquery-1-7-2-released/#comments</comments>
		<pubDate>Sun, 08 Apr 2012 13:22:54 +0000</pubDate>
		<dc:creator>Jake Rutter</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://jquerymania.wpengine.com/?p=15</guid>
		<description><![CDATA[jQuery v1.7.2 has been released, click here to learn more about this release.]]></description>
				<content:encoded><![CDATA[<p>jQuery v1.7.2 has been released, <a href="http://blog.jquery.com/2012/03/21/jquery-1-7-2-released/">click here</a> to learn more about this release.</p>
]]></content:encoded>
			<wfw:commentRss>http://jquerymania.com/2012/04/jquery-1-7-2-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bowling for jQuery &#8211; April 2012, DC</title>
		<link>http://jquerymania.com/2012/04/bowling-for-jquery-april-2012-dc/</link>
		<comments>http://jquerymania.com/2012/04/bowling-for-jquery-april-2012-dc/#comments</comments>
		<pubDate>Sun, 08 Apr 2012 13:07:55 +0000</pubDate>
		<dc:creator>Jake Rutter</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Featured]]></category>

		<guid isPermaLink="false">http://jquerymania.wpengine.com/?p=11</guid>
		<description><![CDATA[The jQuery team is going bowling and we’d love to have you join us! We’ll be spending the evening of Friday, April 13th at King Pinz in Leesburg, VA, a bit outside of Washington, DC. We’ll have a private room with 6 lanes from 6 to 10 PM. The night will feature unlimited bowling, dinner, desserts, drinks,...]]></description>
				<content:encoded><![CDATA[<p>The jQuery team is going bowling and we’d love to have you join us! We’ll be spending the evening of Friday, April 13th at <a href="http://www.kingpinzbowl.com/" target="_blank">King Pinz</a> in Leesburg, VA, a bit outside of Washington, DC. We’ll have a private room with 6 lanes from 6 to 10 PM. The night will feature unlimited bowling, dinner, desserts, drinks, and billiards. There’s even a cigar bar, if you’re into that!</p>
<p>For more information: <a href="http://blog.jquery.com/2012/03/26/bowling-for-jquery-apr-2012-dc/">http://blog.jquery.com/2012/03/26/bowling-for-jquery-apr-2012-dc/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jquerymania.com/2012/04/bowling-for-jquery-april-2012-dc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Signs of a poorly written jQuery plugin</title>
		<link>http://jquerymania.com/2012/02/signs-of-a-poorly-written-jquery-plugin/</link>
		<comments>http://jquerymania.com/2012/02/signs-of-a-poorly-written-jquery-plugin/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 13:43:53 +0000</pubDate>
		<dc:creator>Jake Rutter</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://jquerymania.wpengine.com/?p=18</guid>
		<description><![CDATA[http://remysharp.com/2010/06/03/signs-of-a-poorly-written-jquery-plugin/]]></description>
				<content:encoded><![CDATA[<p>http://remysharp.com/2010/06/03/signs-of-a-poorly-written-jquery-plugin/</p>
]]></content:encoded>
			<wfw:commentRss>http://jquerymania.com/2012/02/signs-of-a-poorly-written-jquery-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
