<?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"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Input focus with jQuery</title> <atom:link href="http://greatwebguy.com/programming/dom/input-focus-with-jquery/feed/" rel="self" type="application/rss+xml" /><link>http://greatwebguy.com/programming/dom/input-focus-with-jquery/</link> <description>Self-proclaimed greatness is a hard thing to prove.</description> <lastBuildDate>Tue, 15 May 2012 21:39:02 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Joost Kuif</title><link>http://greatwebguy.com/programming/dom/input-focus-with-jquery/#comment-1821</link> <dc:creator>Joost Kuif</dc:creator> <pubDate>Wed, 29 Feb 2012 19:13:10 +0000</pubDate> <guid
isPermaLink="false">http://greatwebguy.com/?p=49#comment-1821</guid> <description>How about this one :)
$(document).ready(function() {
// focus on the first input field or textarea
$(&quot;:input:visible:enabled&quot;).each(function() {
if (($(this).attr(&#039;type&#039;) == &#039;text&#039;) &amp;&amp; ($(this).is(&#039;input&#039;))){
$(this).focus();
return false;
}
if ($(this).is(&#039;textarea&#039;)){
$(this).focus();
return false;
}
});
});</description> <content:encoded><![CDATA[<p>How about this one <img
src='http://greatwebguy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p> $(document).ready(function() {<br
/> // focus on the first input field or textarea<br
/> $(&#8220;:input:visible:enabled&#8221;).each(function() {</p><p> if (($(this).attr(&#8216;type&#8217;) == &#8216;text&#8217;) &amp;&amp; ($(this).is(&#8216;input&#8217;))){<br
/> $(this).focus();<br
/> return false;<br
/> }<br
/> if ($(this).is(&#8216;textarea&#8217;)){<br
/> $(this).focus();<br
/> return false;<br
/> }</p><p> });<br
/> });</p> ]]></content:encoded> </item> <item><title>By: Marko</title><link>http://greatwebguy.com/programming/dom/input-focus-with-jquery/#comment-1755</link> <dc:creator>Marko</dc:creator> <pubDate>Fri, 09 Dec 2011 13:28:49 +0000</pubDate> <guid
isPermaLink="false">http://greatwebguy.com/?p=49#comment-1755</guid> <description>Thanks! This is what I was looking for! :)</description> <content:encoded><![CDATA[<p>Thanks! This is what I was looking for! <img
src='http://greatwebguy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: bob</title><link>http://greatwebguy.com/programming/dom/input-focus-with-jquery/#comment-1734</link> <dc:creator>bob</dc:creator> <pubDate>Mon, 31 Oct 2011 17:19:27 +0000</pubDate> <guid
isPermaLink="false">http://greatwebguy.com/?p=49#comment-1734</guid> <description>@joe,
this is an old thread but in case anyone reads this question again.
in my opinion the absolute best way is to become strong in jquery is to
1. get a decent handle on javascript. learn functions &amp; objects, maybe read D.Crockford&#039;s &quot;the good parts&quot; and wrestle through it as many times as it takes.
2. Then get Orielly (D.Flanagan) jQuery pocket reference and read it cover to cover. Small book but packed with everything you need on the core jquery.
3. bookmark the jquery source and reference the functions you are calling.</description> <content:encoded><![CDATA[<p>@joe,<br
/> this is an old thread but in case anyone reads this question again.<br
/> in my opinion the absolute best way is to become strong in jquery is to<br
/> 1. get a decent handle on javascript. learn functions &amp; objects, maybe read D.Crockford&#8217;s &#8220;the good parts&#8221; and wrestle through it as many times as it takes.<br
/> 2. Then get Orielly (D.Flanagan) jQuery pocket reference and read it cover to cover. Small book but packed with everything you need on the core jquery.<br
/> 3. bookmark the jquery source and reference the functions you are calling.</p> ]]></content:encoded> </item> <item><title>By: saurabh</title><link>http://greatwebguy.com/programming/dom/input-focus-with-jquery/#comment-537</link> <dc:creator>saurabh</dc:creator> <pubDate>Thu, 17 Feb 2011 08:41:22 +0000</pubDate> <guid
isPermaLink="false">http://greatwebguy.com/?p=49#comment-537</guid> <description>Thanks....Nice Collection..!!</description> <content:encoded><![CDATA[<p>Thanks&#8230;.Nice Collection..!!</p> ]]></content:encoded> </item> <item><title>By: sumit</title><link>http://greatwebguy.com/programming/dom/input-focus-with-jquery/#comment-449</link> <dc:creator>sumit</dc:creator> <pubDate>Mon, 07 Feb 2011 06:05:56 +0000</pubDate> <guid
isPermaLink="false">http://greatwebguy.com/?p=49#comment-449</guid> <description>is that any buddy help to tell that how can i set focus in loop on different different id plz help.......
(www.askinterview.com)</description> <content:encoded><![CDATA[<p>is that any buddy help to tell that how can i set focus in loop on different different id plz help&#8230;&#8230;.<br
/> (www.askinterview.com)</p> ]]></content:encoded> </item> </channel> </rss>
