<?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>2012-02-02T16:16:52.374-02:00</updated><category term='linux'/><category term='ENTP'/><category term='sysadmin'/><category term='CDATA'/><category term='javascript'/><category term='ajax'/><category term='mocha'/><category term='Design'/><category term='Functional programming'/><category term='reverse ajax'/><category term='Metaprogramming'/><category term='Refactoring'/><category term='Testing'/><category term='C#'/><category term='Duck typing'/><category term='ssh git capistrano'/><category term='comet'/><category term='Ruby Cubox'/><category term='RSpec'/><category term='Xml'/><category term='Ruby'/><category term='plugin'/><category term='BDD'/><category term='DSL'/><category term='Linq'/><category term='rails'/><category term='mongrel'/><category term='Humor'/><category term='vim'/><category term='Autotest'/><category term='prototype'/><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><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://lh3.google.es/dcadenas/Ra-_PqMllUI/AAAAAAAAAAw/-221g8_4dkc/594183122.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3836263610079655093.post-1221892318985786154</id><published>2010-03-22T10:22:15.541-03:00</published><updated>2010-03-22T10:22:15.541-03:00</updated><title type='text'>Hola Daniel. Soy un nuevo desarrollador de argenti...</title><content type='html'>Hola Daniel. Soy un nuevo desarrollador de argentina y queria implementar este interesante aporte tuyo a los formularios.&lt;br /&gt;No me queda claro como hacerlo en los siguientes puntos:&lt;br /&gt;1. Definir un campo para que automaticamente tome foco al iniciar el form.&lt;br /&gt;2. Establecer una secuencia en los focos de los demás campos.&lt;br /&gt;Podés ayudarme ?&lt;br /&gt;Saludos, Fabian</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3836263610079655093/8922513960555897722/comments/default/1221892318985786154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3836263610079655093/8922513960555897722/comments/default/1221892318985786154'/><link rel='alternate' type='text/html' href='http://www.danielcadenas.com/2008/10/auto-focusable-forms.html?showComment=1269264135541#c1221892318985786154' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-780649263'/></entry><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:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://lh3.google.es/dcadenas/Ra-_PqMllUI/AAAAAAAAAAw/-221g8_4dkc/594183122.jpg'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1964916130'/></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:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://lh3.google.es/dcadenas/Ra-_PqMllUI/AAAAAAAAAAw/-221g8_4dkc/594183122.jpg'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1964916130'/></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:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://lh3.google.es/dcadenas/Ra-_PqMllUI/AAAAAAAAAAw/-221g8_4dkc/594183122.jpg'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1964916130'/></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,&lt;br&gt;&lt;br&gt;If a field already has a value, the cur...</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><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></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'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-188948816'/></entry></feed>
