<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.1" -->
<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/"
	>

<channel>
	<title>jQuery Minute™</title>
	<link>http://jqueryminute.com/blog</link>
	<description>"...a jQuery Minute™ later and you're done!"</description>
	<pubDate>Tue, 15 Jul 2008 16:50:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
	<language>en</language>
			<item>
		<title>Finding Immediately Adjacent Siblings</title>
		<link>http://jqueryminute.com/blog/finding-immediately-adjacent-siblings/</link>
		<comments>http://jqueryminute.com/blog/finding-immediately-adjacent-siblings/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 02:34:34 +0000</pubDate>
		<dc:creator>jdsharp</dc:creator>
		
		<category><![CDATA[Code-bits]]></category>

		<category><![CDATA[jQuery 101]]></category>

		<guid isPermaLink="false">http://jqueryminute.com/blog/finding-immediately-adjacent-siblings/</guid>
		<description><![CDATA[Greetings! Here&#8217;s a quick tip for advanced filtering of adjacent sibling nodes.
Given the following HTML:
&#60;ul&#62;
&#60;li&#62;Item 1&#60;/li&#62;
&#60;li class=&#8221;hello&#8221;&#62;Item 2&#60;/li&#62;
&#60;li class=&#8221;hello&#8221;  id=&#8221;three&#8221;&#62;Item 3&#60;/li&#62;
&#60;li class=&#8221;hello&#8221;&#62;Item 4&#60;/li&#62;
&#60;li&#62;Item 5&#60;/li&#62;
&#60;li class=&#8221;hello&#8221;&#62;Item 6&#60;/li&#62;
&#60;/ul&#62;
If you needed to select the immediate siblings of #three that matched the class .hello (so the resulting element set would be Item 2, Item 3, Item 4) there [...]]]></description>
			<content:encoded><![CDATA[<p>Greetings! Here&#8217;s a quick tip for advanced filtering of adjacent sibling nodes.</p>
<p>Given the following HTML:</p>
<p>&lt;ul&gt;<br />
&lt;li&gt;Item 1&lt;/li&gt;<br />
&lt;li class=&#8221;hello&#8221;&gt;Item 2&lt;/li&gt;<br />
&lt;li class=&#8221;hello&#8221;  id=&#8221;three&#8221;&gt;Item 3&lt;/li&gt;<br />
&lt;li class=&#8221;hello&#8221;&gt;Item 4&lt;/li&gt;<br />
&lt;li&gt;Item 5&lt;/li&gt;<br />
&lt;li class=&#8221;hello&#8221;&gt;Item 6&lt;/li&gt;<br />
&lt;/ul&gt;</p>
<p>If you needed to select the <em>immediate</em> siblings of #three that matched the class .hello (so the resulting element set would be Item 2, Item 3, Item 4) there isn&#8217;t an easy way to do this. jQuery provides a prev() and prevAll() methods (as well as their next() counter parts) but that would return all of the elements. Here&#8217;s a jQuery immediateSiblings function to take care of this for us:</p>
<p>$(&#8217;#three&#8217;).immediateSiblings(&#8217;li.hello&#8217;)</p>
<p>Here&#8217;s the code for the plugin:</p>
<p>/*<br />
* immediateSiblings 1.0.0 (2008-07-14)<br />
*<br />
* Copyright (c) 2006,2007 Jonathan Sharp (http://jdsharp.us)<br />
* Dual licensed under the MIT (MIT-LICENSE.txt)<br />
* and GPL (GPL-LICENSE.txt) licenses.<br />
*<br />
* http://jdsharp.us/<br />
*<br />
* Built upon jQuery 1.2.6 (http://jquery.com)<br />
*/<br />
$.fn.immediateSiblings = function(selector) {<br />
var siblings = [];<br />
if ( this.length &gt; 0 ) {<br />
this.each(function() {<br />
var elm = $(this);<br />
while ( elm.prev().is( selector ) ) {<br />
elm = elm.prev();<br />
siblings.unshift( elm[0] );<br />
}<br />
siblings.push( this );<br />
var elm = $(this);<br />
while ( elm.next().is( selector ) ) {<br />
elm = elm.next();<br />
siblings.push( elm[0] );<br />
}<br />
});<br />
}<br />
return this.pushStack( $.unique( siblings ) );<br />
};</p>
<p>Cheers,<br />
-Jonathan</p>
]]></content:encoded>
			<wfw:commentRss>http://jqueryminute.com/blog/finding-immediately-adjacent-siblings/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Set Focus to the Next Input Field with jQuery</title>
		<link>http://jqueryminute.com/blog/set-focus-to-the-next-input-field-with-jquery/</link>
		<comments>http://jqueryminute.com/blog/set-focus-to-the-next-input-field-with-jquery/#comments</comments>
		<pubDate>Tue, 27 May 2008 22:02:33 +0000</pubDate>
		<dc:creator>jdsharp</dc:creator>
		
		<category><![CDATA[Code-bits]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[Plugin-Extension]]></category>

		<guid isPermaLink="false">http://jqueryminute.com/blog/set-focus-to-the-next-input-field-with-jquery/</guid>
		<description><![CDATA[Setting focus to input fields is easy enough with JavaScript: document.getElementById(&#8217;theInputField&#8217;).focus(); but sometimes you need a more generic solution as what happens when the next input field changes ID?
I was recently faced with the problem of setting focus to the next input field. The challenge was that I didn&#8217;t know what that field was. So [...]]]></description>
			<content:encoded><![CDATA[<p>Setting focus to input fields is easy enough with JavaScript: document.getElementById(&#8217;theInputField&#8217;).focus(); but sometimes you need a more generic solution as what happens when the next input field changes ID?</p>
<p>I was recently faced with the problem of setting focus to the next input field. The challenge was that I didn&#8217;t know what that field was. So given an input field, find the next logical (in the order of the DOM) input field and set focus. I came up with the following jQuery function (plugin) to accomplish this:</p>
<p><code><br />
$.fn.focusNextInputField = function() {<br />
return this.each(function() {<br />
var fields = $(this).parents('form:eq(0),body').find('button,input,textarea,select');<br />
var index = fields.index( this );<br />
if ( index &gt; -1 &amp;&amp; ( index + 1 ) &lt; fields.length ) {<br />
fields.eq( index + 1 ).focus();<br />
}<br />
return false;<br />
});<br />
};</code></p>
<p>The use is as follows:<br />
<code><br />
$( 'current_field_selector' ).focusNextInputField();<br />
</code></p>
<p>Let&#8217;s break this code down some:<br />
<code><br />
$.fn.focusNextInputField = function() {<br />
</code><br />
Start off by adding a new jQuery function/plugin<br />
<code><br />
return this.each(function() {<br />
</code><br />
Given a set of elements (this =&gt; jQuery object), iterate over them (we&#8217;ll return false which stop iteration after the first element.)<br />
<code><br />
var fields = $(this).parents('form:eq(0),body').find('button,input,textarea,select');<br />
</code><br />
Walk up the DOM tree (parents) until we find either the first form element or reach the body tag. Now find all button,input,textarea and select elements.<br />
<code><br />
var index = fields.index( this );<br />
</code><br />
Find out if our current DOM element (this) is in the jQuery collection. Index will return -1 if it is not.<br />
<code><br />
if ( index &gt; -1 &amp;&amp; ( index + 1 ) &lt; fields.length ) {<br />
</code><br />
See if we have a match and make sure we aren&#8217;t the last element<br />
<code><br />
fields.eq( index + 1 ).focus();<br />
</code><br />
Select the next input field ( index + 1 ) and set focus to it.<br />
<code><br />
}<br />
return false;<br />
</code><br />
Return false so we stop iteration after this element. So if you call $(&#8230;).focusNextInputField() with multiple elements, it will only set focus to the next input field of the first element.</p>
<p>Good luck &amp; enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://jqueryminute.com/blog/set-focus-to-the-next-input-field-with-jquery/feed/</wfw:commentRss>
		</item>
		<item>
		<title>jQuery as an Associative Array - Dynamically calling jQuery functions</title>
		<link>http://jqueryminute.com/blog/jquery-as-an-associative-array-dynamically-calling-jquery-functions/</link>
		<comments>http://jqueryminute.com/blog/jquery-as-an-associative-array-dynamically-calling-jquery-functions/#comments</comments>
		<pubDate>Thu, 15 May 2008 20:37:53 +0000</pubDate>
		<dc:creator>jdsharp</dc:creator>
		
		<category><![CDATA[Code-bits]]></category>

		<category><![CDATA[jQuery 101]]></category>

		<category><![CDATA[jQuery Core]]></category>

		<guid isPermaLink="false">http://jqueryminute.com/blog/jquery-as-an-associative-array-dynamically-calling-jquery-functions/</guid>
		<description><![CDATA[So how many times have you done the following:

var elm = $('.selector');
if ( elm.hasClass('selectedElement') ) {
elm.removeClass('abc');
} else {
elm.addClass('abc');
}

One alternative to the above example is to use jQuery&#8217;s toggleClass() method, but toggleClass does exactly that, toggles the class without a way for us to know the current state.
So now to the point of this post, accessing [...]]]></description>
			<content:encoded><![CDATA[<p>So how many times have you done the following:</p>
<p><code><br />
var elm = $('.selector');<br />
if ( elm.hasClass('selectedElement') ) {<br />
elm.removeClass('abc');<br />
} else {<br />
elm.addClass('abc');<br />
}<br />
</code></p>
<p>One alternative to the above example is to use jQuery&#8217;s <a href="http://http://docs.jquery.com/Attributes/toggleClass">toggleClass()</a> method, but toggleClass does exactly that, toggles the class without a way for us to know the current state.</p>
<p>So now to the point of this post, accessing a jQuery function using associative array notation. Here&#8217;s an example of a typical jQuery operation:</p>
<p><code><br />
// Call addClass('abc') on all divs<br />
$('div').addClass('abc');<br />
</code></p>
<p>Here&#8217;s the same jQuery operation using associative array notation.<br />
<code><br />
// Call addClass('abc') on all divs using associative array notation<br />
$('div')['addClass']('abc');<br />
</code></p>
<p>Now the refactored example from the beginning of this post:<br />
<code><br />
var elm = $('.selector');<br />
elm[ ( elm.hasClass('selectedElement') ? 'remove' : 'add' ) + 'Class' ]('abc');<br />
</code></p>
<p>Here&#8217;s some additional links on JavaScript objects as Associative Arrays:</p>
<ul>
<li><a href="http://www.quirksmode.org/js/associative.html">http://www.quirksmode.org/js/associative.html</a></li>
<li><a href="http://www.google.com/search?hl=en&amp;q=javascript+objects+as+arrays&amp;btnG=Search">Search Google for &#8220;javascript as associative arrays&#8221;</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jqueryminute.com/blog/jquery-as-an-associative-array-dynamically-calling-jquery-functions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>jQuery 1.2.3 Released (Quietly!)</title>
		<link>http://jqueryminute.com/blog/jquery-123-released-quietly/</link>
		<comments>http://jqueryminute.com/blog/jquery-123-released-quietly/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 19:41:33 +0000</pubDate>
		<dc:creator>jdsharp</dc:creator>
		
		<category><![CDATA[jQuery Blogs &amp; Sites]]></category>

		<category><![CDATA[jQuery Core]]></category>

		<guid isPermaLink="false">http://jqueryminute.com/blog/jquery-123-released-quietly/</guid>
		<description><![CDATA[I saw on this as part of the jQuery UI post on Ajaxian today, jQuery 1.2.3 was quietly released last night.
jQuery UI Google Groups Post
Here you go:
http://code.jquery.com/jquery-1.2.3.js
http://code.jquery.com/jquery-1.2.3.min.js
http://code.jquery.com/jquery-1.2.3.pack.js
]]></description>
			<content:encoded><![CDATA[<p>I saw on this as part of the <a href="http://ajaxian.com/archives/jquery-ui-and-jquery-enchant-alpha-versions-released-today">jQuery UI post on Ajaxian</a> today, jQuery 1.2.3 was quietly released last night.</p>
<p><a href="http://groups.google.com/group/jquery-ui/browse_thread/thread/db8276574e20a5be/6a406868c7390d83#6a406868c7390d83">jQuery UI Google Groups Post</a></p>
<p>Here you go:</p>
<p><a href="http://code.jquery.com/jquery-1.2.3.js">http://code.jquery.com/jquery-1.2.3.js</a><br />
<a href="http://code.jquery.com/jquery-1.2.3.min.js">http://code.jquery.com/jquery-1.2.3.min.js</a><br />
<a href="http://code.jquery.com/jquery-1.2.3.pack.js">http://code.jquery.com/jquery-1.2.3.pack.js</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jqueryminute.com/blog/jquery-123-released-quietly/feed/</wfw:commentRss>
		</item>
		<item>
		<title>jQuery Iteration and each()</title>
		<link>http://jqueryminute.com/blog/jquery-iteration-and-each/</link>
		<comments>http://jqueryminute.com/blog/jquery-iteration-and-each/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 14:00:44 +0000</pubDate>
		<dc:creator>jdsharp</dc:creator>
		
		<category><![CDATA[Code-bits]]></category>

		<category><![CDATA[Uncommon Features]]></category>

		<category><![CDATA[jQuery 101]]></category>

		<category><![CDATA[jQuery Core]]></category>

		<category><![CDATA[jQuery Documentation]]></category>

		<guid isPermaLink="false">http://jqueryminute.com/blog/jquery-iteration-and-each/</guid>
		<description><![CDATA[There was a recent thread on the jQuery discussion group in that there was a need for looping through a series of elements and dynamically binding an event. An issue was brought up with closures and the arguments for dynamic binding of functions. Brandon Aaron provided an elegant solution that makes use of jQuery&#8217;s internal [...]]]></description>
			<content:encoded><![CDATA[<p>There was a recent <a href="http://groups.google.com/group/jquery-en/browse_thread/thread/6b7efaf1db5a4255/730d820e0c020635?lnk=gst&amp;q=fighting+closure#730d820e0c020635" target="_blank">thread</a> on the jQuery discussion group in that there was a need for looping through a series of elements and dynamically binding an event. An issue was brought up with closures and the arguments for dynamic binding of functions. <a href="http://blog.brandonaaron.net/" target="_blank">Brandon Aaron</a> provided an elegant solution that makes use of jQuery&#8217;s internal each() function. Let&#8217;s jump in!</p>
<p>So here&#8217;s a paraphrase of Brandon&#8217;s code:</p>
<p><strong>Example 1:</strong><br />
jQuery.each( [0,1,2,3,4], function(index, item){<br />
// Your code<br />
});</p>
<p>At first glance this may look the same as your standard iteration code using each but it differs slightly and that is where the benefit is. Let&#8217;s look at using the standard each method on a jQuery object:</p>
<p><strong>Example 2:</strong><br />
$(&#8217;selector&#8217;).each(function(index){<br />
// Your code<br />
});</p>
<p>In this example jQuery internally manages the collection (array) of matched elements by the selector.</p>
<p>But, by using jQuery&#8217;s internal .each() method (Example 1) we&#8217;re able to pass in an arbitrary array in which each item will have the callback executed. An elegant solution to your typical for ( i ) loop. Your callback can accept two arguments: index, item where index is the numerical zero based index in the array of the current item and item is the value of the current array. Also worth noting is that by returning false from you callback you can stop iteration over the array (this is the same as using a break; statement in a for loop).</p>
<p>Happy coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://jqueryminute.com/blog/jquery-iteration-and-each/feed/</wfw:commentRss>
		</item>
		<item>
		<title>JavaScript Pretty Date by John Resig</title>
		<link>http://jqueryminute.com/blog/javascript-pretty-date-by-john-resig/</link>
		<comments>http://jqueryminute.com/blog/javascript-pretty-date-by-john-resig/#comments</comments>
		<pubDate>Thu, 31 Jan 2008 16:30:48 +0000</pubDate>
		<dc:creator>jdsharp</dc:creator>
		
		<category><![CDATA[Code-bits]]></category>

		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://jqueryminute.com/blog/javascript-pretty-date-by-john-resig/</guid>
		<description><![CDATA[Once again the JavaScript master is at it with &#8220;Pretty Date&#8221; to take the unfriendly &#8220;2008-01-28T20:24:17Z&#8221; and turn it into: &#8220;2 hours ago&#8220;. Worth a look as it is short and sweet!
http://ejohn.org/blog/javascript-pretty-date/
]]></description>
			<content:encoded><![CDATA[<p>Once again the JavaScript master is at it with &#8220;Pretty Date&#8221; to take the unfriendly &#8220;<span style="color: #3366cc">2008-01-28T20:24:17Z</span>&#8221; and turn it into: &#8220;<span style="color: #009900; font-style: italic">2 hours ago</span>&#8220;. Worth a look as it is short and sweet!</p>
<p><a href="http://ejohn.org/blog/javascript-pretty-date/" target="_blank">http://ejohn.org/blog/javascript-pretty-date/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jqueryminute.com/blog/javascript-pretty-date-by-john-resig/feed/</wfw:commentRss>
		</item>
		<item>
		<title>jQuery parent() vs. parents()</title>
		<link>http://jqueryminute.com/blog/jquery-parent-vs-parents/</link>
		<comments>http://jqueryminute.com/blog/jquery-parent-vs-parents/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 16:34:39 +0000</pubDate>
		<dc:creator>jdsharp</dc:creator>
		
		<category><![CDATA[jQuery 101]]></category>

		<category><![CDATA[jQuery Core]]></category>

		<guid isPermaLink="false">http://jqueryminute.com/blog/jquery-parent-vs-parents/</guid>
		<description><![CDATA[Welcome jQuery newbies! I&#8217;m writing a quick post here to help clarify some differences between the parent() and parents() methods.
Given the following HTML:
&#60;html&#62;&#8230;&#60;body&#62;&#60;div class=&#8221;one&#8221;&#62;&#60;div class=&#8221;two&#8221;&#62;&#60;p&#62;&#60;span&#62;Some text&#60;/span&#62;&#60;/p&#62;&#60;/div&#62;&#60;/div&#62;&#60;/body&#62;&#60;/html&#62;
$(&#8217;span&#8217;).parent() will select the &#60;p&#62; tag such that the element set in the jQuery object is [span].
$(&#8217;span&#8217;).parents() will select all parent tags such that the element set in the jQuery [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome jQuery newbies! I&#8217;m writing a quick post here to help clarify some differences between the <a href="http://docs.jquery.com/Traversing/parent" target="_blank">parent()</a> and <a href="http://docs.jquery.com/Traversing/parents" target="_blank">parents()</a> methods.</p>
<p>Given the following HTML:<br />
&lt;html&gt;&#8230;&lt;body&gt;&lt;div class=&#8221;one&#8221;&gt;&lt;div class=&#8221;two&#8221;&gt;&lt;p&gt;&lt;span&gt;Some text&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;</p>
<p>$(&#8217;span&#8217;).parent() will select the &lt;p&gt; tag such that the element set in the jQuery object is [span].</p>
<p>$(&#8217;span&#8217;).parents() will select <u>all</u> parent tags such that the element set in the jQuery object is [p, div.two, div.one, body, html].</p>
<p>So parent() will select the first parent element while parents() will select all elements straight up the DOM tree.</p>
<p>Now jQuery has some great flexibility in that you could do that following:</p>
<p>$(&#8217;span&#8217;).parents().filter(&#8217;div&#8217;) which would result in [div.two, div.one]. jQuery makes it even easier as the parent() and parents() methods support filtering built in so the above can be reduced to:</p>
<p>$(&#8217;span&#8217;).parents(&#8217;div&#8217;) giving you [div.two, div.one].</p>
<p>Let&#8217;s continue with one more example, let&#8217;s say that you only need the first div in the parent DOM tree, jQuery to the rescue $(&#8217;span&#8217;).parents(&#8217;div:eq(0)&#8217;) will give you [div.two]</p>
<p>-Jonathan</p>
]]></content:encoded>
			<wfw:commentRss>http://jqueryminute.com/blog/jquery-parent-vs-parents/feed/</wfw:commentRss>
		</item>
		<item>
		<title>jQuery Calculate Plugin</title>
		<link>http://jqueryminute.com/blog/jquery-calculate-plugin/</link>
		<comments>http://jqueryminute.com/blog/jquery-calculate-plugin/#comments</comments>
		<pubDate>Wed, 23 Jan 2008 21:07:03 +0000</pubDate>
		<dc:creator>jdsharp</dc:creator>
		
		<category><![CDATA[Plugin-Extension]]></category>

		<guid isPermaLink="false">http://jqueryminute.com/blog/jquery-calculate-plugin/</guid>
		<description><![CDATA[Dan G. Switzer, II wrote a plugin for easy calculation. It was recently brought up on the jQuery list (Google Groups &#124; Nabble). Worth a look!
 http://www.pengoworks.com/workshop/jquery/calculation.plugin.htm
Update: Dan has posted a blog entry that covers use cases and some of it&#8217;s innner workings in more detail, again worth a look! http://blog.pengoworks.com/index.cfm/2008/1/23/jQuery-Calculation-Plugin-Making-calculating-easy
]]></description>
			<content:encoded><![CDATA[<p>Dan G. Switzer, II wrote a plugin for easy calculation. It was recently brought up on the <a href="http://groups.google.com/group/jquery-en/">jQuery list</a> (<a href="http://http://groups.google.com/group/jquery-en/tree/browse_frm/thread/f68d8f159fa226cd/7d42846ea6e8ee8e?rnum=1&amp;q=calculation&amp;_done=%2Fgroup%2Fjquery-en%2Fbrowse_frm%2Fthread%2Ff68d8f159fa226cd%2Ff1afd150703221f3%3Flnk%3Dgst%26q%3Dcalculation%26#doc_e7c5d744ac5d7d7f">Google Groups</a> | <a href="http://www.nabble.com/sum-of-table-rows-to14879031.html#a15050352">Nabble</a>). Worth a look!</p>
<p><a href="http://www.pengoworks.com/workshop/jquery/calculation.plugin.htm"> http://www.pengoworks.com/workshop/jquery/calculation.plugin.htm</a></p>
<p><strong>Update</strong>: Dan has posted a blog entry that covers use cases and some of it&#8217;s innner workings in more detail, again worth a look! <a href="http://blog.pengoworks.com/index.cfm/2008/1/23/jQuery-Calculation-Plugin-Making-calculating-easy">http://blog.pengoworks.com/index.cfm/2008/1/23/jQuery-Calculation-Plugin-Making-calculating-easy</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jqueryminute.com/blog/jquery-calculate-plugin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Aspect Oriented Programming and jQuery - APO and JavaScript</title>
		<link>http://jqueryminute.com/blog/aspect-oriented-programming-and-jquery-apo-and-javascript/</link>
		<comments>http://jqueryminute.com/blog/aspect-oriented-programming-and-jquery-apo-and-javascript/#comments</comments>
		<pubDate>Fri, 18 Jan 2008 16:00:31 +0000</pubDate>
		<dc:creator>jdsharp</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[Plugin-Extension]]></category>

		<category><![CDATA[APO JavaScript]]></category>

		<guid isPermaLink="false">http://jqueryminute.com/blog/aspect-oriented-programming-and-jquery-apo-and-javascript/</guid>
		<description><![CDATA[This was brought up on one of the jQuery lists a little while back. A solid implementation that is lean on code. Also worth noting is that while this uses the jQuery namespace, there isn&#8217;t anything jQuery specific. Great project!
http://code.google.com/p/jquery-aop/
]]></description>
			<content:encoded><![CDATA[<p>This was brought up on one of the jQuery lists a little while back. A solid implementation that is lean on code. Also worth noting is that while this uses the jQuery namespace, there isn&#8217;t anything jQuery specific. Great project!</p>
<p><a target="_blank" href="http://code.google.com/p/jquery-aop/" title="jQuery AOP Plugin">http://code.google.com/p/jquery-aop/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jqueryminute.com/blog/aspect-oriented-programming-and-jquery-apo-and-javascript/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Performance Tuning Regular Expressions in JavaScript</title>
		<link>http://jqueryminute.com/blog/performance-tuning-regular-expressions-in-javascript/</link>
		<comments>http://jqueryminute.com/blog/performance-tuning-regular-expressions-in-javascript/#comments</comments>
		<pubDate>Fri, 18 Jan 2008 15:55:00 +0000</pubDate>
		<dc:creator>jdsharp</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://jqueryminute.com/blog/performance-tuning-regular-expressions-in-javascript/</guid>
		<description><![CDATA[Doug D started a thread on the google groups jQuery developer list about a faster trim method he ran across and how counter intuitively it was better to run two expressions rather than one. Matt Kruse then provided a link to a great article on the subject: http://blog.stevenlevithan.com/archives/faster-trim-javascript
The origional thread can be found here (I couldn&#8217;t find [...]]]></description>
			<content:encoded><![CDATA[<p>Doug D started a thread on the google groups jQuery developer list about a faster trim method he ran across and how counter intuitively it was better to run two expressions rather than one. Matt Kruse then provided a link to a great article on the subject: <a href="http://blog.stevenlevithan.com/archives/faster-trim-javascript">http://blog.stevenlevithan.com/archives/faster-trim-javascript</a></p>
<p>The origional thread can be found here (I couldn&#8217;t find it at the time of the writing but I&#8217;m sure it&#8217;s there!): <a href="http://www.nabble.com/forum/Search.jtp?forum=20161&amp;local=y&amp;query=faster+trim">http://www.nabble.com/forum/Search.jtp?forum=20161&amp;local=y&amp;query=faster+trim</a> </p>
]]></content:encoded>
			<wfw:commentRss>http://jqueryminute.com/blog/performance-tuning-regular-expressions-in-javascript/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
