<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-3836263610079655093.post8922513960555897722..comments</id><updated>2010-03-22T10:22:15.551-03:00</updated><title type='text'>Comments on Daniel Cadenas: Auto Focusable Forms</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.danielcadenas.com/feeds/8922513960555897722/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3836263610079655093/8922513960555897722/comments/default'/><link rel='alternate' type='text/html' href='http://www.danielcadenas.com/2008/10/auto-focusable-forms.html'/><author><name>Daniel Cadenas</name><uri>http://www.blogger.com/profile/07935636187234627682</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3836263610079655093.post-2267217637604980860</id><published>2009-05-30T06:03:24.291-03:00</published><updated>2009-05-30T06:03:24.291-03:00</updated><title type='text'>I wish I knew your name so I could at least add yo...</title><content type='html'>I wish I knew your name so I could at least add you in the commit info!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3836263610079655093/8922513960555897722/comments/default/2267217637604980860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3836263610079655093/8922513960555897722/comments/default/2267217637604980860'/><link rel='alternate' type='text/html' href='http://www.danielcadenas.com/2008/10/auto-focusable-forms.html?showComment=1243674204291#c2267217637604980860' title=''/><author><name>Daniel Cadenas</name><uri>http://www.blogger.com/profile/07935636187234627682</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01768789512016709947'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.danielcadenas.com/2008/10/auto-focusable-forms.html' ref='tag:blogger.com,1999:blog-3836263610079655093.post-8922513960555897722' source='http://www.blogger.com/feeds/3836263610079655093/posts/default/8922513960555897722' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3836263610079655093.post-4657869414114876015</id><published>2009-05-30T06:02:24.200-03:00</published><updated>2009-05-30T06:02:24.200-03:00</updated><title type='text'>Your change is pushed, thank you and sorry for the...</title><content type='html'>Your change is pushed, thank you and sorry for the delay.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3836263610079655093/8922513960555897722/comments/default/4657869414114876015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3836263610079655093/8922513960555897722/comments/default/4657869414114876015'/><link rel='alternate' type='text/html' href='http://www.danielcadenas.com/2008/10/auto-focusable-forms.html?showComment=1243674144200#c4657869414114876015' title=''/><author><name>Daniel Cadenas</name><uri>http://www.blogger.com/profile/07935636187234627682</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01768789512016709947'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.danielcadenas.com/2008/10/auto-focusable-forms.html' ref='tag:blogger.com,1999:blog-3836263610079655093.post-8922513960555897722' source='http://www.blogger.com/feeds/3836263610079655093/posts/default/8922513960555897722' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3836263610079655093.post-3263495384433546729</id><published>2008-11-14T02:17:00.000-02:00</published><updated>2008-11-14T02:17:00.000-02:00</updated><title type='text'>Thanks for the patch! I think it's useful, I will ...</title><content type='html'>Thanks for the patch! I think it's useful, I will add it to the plugin as soon as I have some free time.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3836263610079655093/8922513960555897722/comments/default/3263495384433546729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3836263610079655093/8922513960555897722/comments/default/3263495384433546729'/><link rel='alternate' type='text/html' href='http://www.danielcadenas.com/2008/10/auto-focusable-forms.html?showComment=1226636220000#c3263495384433546729' title=''/><author><name>Daniel Cadenas</name><uri>http://www.blogger.com/profile/07935636187234627682</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='01768789512016709947'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.danielcadenas.com/2008/10/auto-focusable-forms.html' ref='tag:blogger.com,1999:blog-3836263610079655093.post-8922513960555897722' source='http://www.blogger.com/feeds/3836263610079655093/posts/default/8922513960555897722' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-3836263610079655093.post-5441798288124818361</id><published>2008-11-12T23:41:00.000-02:00</published><updated>2008-11-12T23:41:00.000-02:00</updated><title type='text'>Hi,If a field already has a value, the current cod...</title><content type='html'>Hi,&lt;BR/&gt;&lt;BR/&gt;If a field already has a value, the current code puts the cursor at the beginning of the field. I patched line 25 of lib/autofocusable.rb to look like this:&lt;BR/&gt;&lt;BR/&gt;@template.instance_variable_set('@focus_was_set', @template.javascript_tag("document.getElementById('#{tag_id(method_name)}').focus();\n document.getElementById('#{tag_id(method_name)}').value = document.getElementById('#{tag_id(method_name)}').value;"))&lt;BR/&gt;&lt;BR/&gt;&lt;BR/&gt;It is a cross-browser trick to make sure the cursor gets set at the end of the text field.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3836263610079655093/8922513960555897722/comments/default/5441798288124818361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3836263610079655093/8922513960555897722/comments/default/5441798288124818361'/><link rel='alternate' type='text/html' href='http://www.danielcadenas.com/2008/10/auto-focusable-forms.html?showComment=1226540460000#c5441798288124818361' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.danielcadenas.com/2008/10/auto-focusable-forms.html' ref='tag:blogger.com,1999:blog-3836263610079655093.post-8922513960555897722' source='http://www.blogger.com/feeds/3836263610079655093/posts/default/8922513960555897722' type='text/html'/></entry></feed>