<?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/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4932559015539029719</id><updated>2024-09-10T22:16:53.995+08:00</updated><category term="ANN"/><category term="0.1"/><category term="0.2"/><category term="patch"/><category term="RJS"/><category term="bug"/><category term="wishlist"/><title type='text'>Use jQuery on Rails</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://jq4r.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4932559015539029719/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://jq4r.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>ericsk</name><uri>http://www.blogger.com/profile/18370675023130925184</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://blog.ericsk.org/wp-content/uploads/2006/09/171838031_7ae90ee7dd_t.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4932559015539029719.post-6999673295514547669</id><published>2008-02-11T23:39:00.000+08:00</published><updated>2008-02-11T23:41:07.163+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="patch"/><title type='text'>Update to jQuery 1.2.3</title><content type='html'>As title.&lt;br /&gt;&lt;br /&gt;Now, the jq4r.js in the repository&#39;s trunk has been updated to jQuery 1.2.3.&lt;br /&gt;Update your plugin if you need the newest jQuery.</content><link rel='replies' type='application/atom+xml' href='http://jq4r.blogspot.com/feeds/6999673295514547669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4932559015539029719/6999673295514547669' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4932559015539029719/posts/default/6999673295514547669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4932559015539029719/posts/default/6999673295514547669'/><link rel='alternate' type='text/html' href='http://jq4r.blogspot.com/2008/02/update-to-jquery-123.html' title='Update to jQuery 1.2.3'/><author><name>ericsk</name><uri>http://www.blogger.com/profile/18370675023130925184</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://blog.ericsk.org/wp-content/uploads/2006/09/171838031_7ae90ee7dd_t.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4932559015539029719.post-5285853559412479075</id><published>2007-11-16T21:52:00.000+08:00</published><updated>2007-11-16T22:20:16.622+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ANN"/><category scheme="http://www.blogger.com/atom/ns#" term="RJS"/><title type='text'>RJS is Supported Now</title><content type='html'>I&#39;m sorry that I enable &lt;code&gt;jq4r&lt;/code&gt; support RJS so lately. From the revision #27 on, you can use some (not all) RJS methods while you use &lt;code&gt;jq4r&lt;/code&gt;. For instance,&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;  &lt;li&gt;&lt;h4&gt;jquery_insert_html(position, id, *htmls)&lt;/h4&gt;&lt;br /&gt;You can insert html by using this method. The first parameter specifies the insertion position like &#39;before&#39;, &#39;after&#39;, &#39;wrap&#39;, and so on. For more details, please refer the &lt;a href=&quot;http://docs.jquery.com/Manipulation&quot; target=&quot;_blank&quot;&gt;jQuery/Manipulation&#39;s documentation&lt;/a&gt;.&lt;/li&gt;&lt;br /&gt;  &lt;li&gt;&lt;h4&gt;jquery_replace_html(position, id, *htmls)&lt;/h4&gt;&lt;br /&gt;This method replace the html by using the &lt;code&gt;jQuery.html&lt;/code&gt; function.&lt;/li&gt;&lt;br /&gt;  &lt;li&gt;&lt;h4&gt;jquery_replace(id, *htmls)&lt;/h4&gt;&lt;br /&gt;It will replace the specified element with the &lt;code&gt;*html&lt;/code&gt;.&lt;/li&gt;&lt;br /&gt;  &lt;li&gt;&lt;h4&gt;jquery_remove(*id_list)&lt;/h4&gt;&lt;/li&gt;&lt;br /&gt;  &lt;li&gt;&lt;h4&gt;jquery_hide(*id_list)&lt;/h4&gt;&lt;/li&gt;&lt;br /&gt;  &lt;li&gt;&lt;h4&gt;jquery_show(*id_list)&lt;/h4&gt;&lt;/li&gt;&lt;br /&gt;  &lt;li&gt;&lt;h4&gt;jquery_toggle(*id_list)&lt;/h4&gt;&lt;/li&gt; &lt;br /&gt;  &lt;li&gt;&lt;h4&gt;jquery_visual_effect(name, id, options)&lt;/h4&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;Please try the HEAD revision of jq4r and feel free to send me any suggestion if you find something wrong out. :-)</content><link rel='replies' type='application/atom+xml' href='http://jq4r.blogspot.com/feeds/5285853559412479075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4932559015539029719/5285853559412479075' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4932559015539029719/posts/default/5285853559412479075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4932559015539029719/posts/default/5285853559412479075'/><link rel='alternate' type='text/html' href='http://jq4r.blogspot.com/2007/11/rjs-is-supported.html' title='RJS is Supported Now'/><author><name>ericsk</name><uri>http://www.blogger.com/profile/18370675023130925184</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://blog.ericsk.org/wp-content/uploads/2006/09/171838031_7ae90ee7dd_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4932559015539029719.post-5643706401778615107</id><published>2007-11-14T20:47:00.001+08:00</published><updated>2007-11-14T21:01:29.708+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="0.1"/><category scheme="http://www.blogger.com/atom/ns#" term="ANN"/><title type='text'>jq4r 0.1.1 Released and Fix jQuery/Ajax&#39;s Bug</title><content type='html'>jq4r has a new release. Version 0.1.1 fixes some bugs in 0.1:&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;  &lt;li&gt;&lt;h4&gt;lib/jq4r.rb&lt;/h4&gt;&lt;p&gt;Fix &lt;code&gt;jquery_visual_effect&lt;/code&gt; method&#39;s bug. (speed parameter doesn&#39;t be quoted)&lt;/p&gt;&lt;p&gt;Use &lt;code&gt;alias_method&lt;/code&gt; to replace the method&#39;s prefix from jq_ to jquery_&lt;/p&gt;&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;  &lt;li&gt;&lt;h4&gt;install.rb&lt;/h4&gt; The script of installing the necessary files for jq4r.&lt;/li&gt;&lt;br /&gt;  &lt;li&gt;&lt;h4&gt;javascripts/jq4r.js&lt;/h4&gt;Combine the jquery-1.2.1.js and jquery.form.js into jq4r.js and patch the jQuery/Ajax&#39;s bug.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;If you use the subversion to install &lt;code&gt;jq4r&lt;/code&gt;, please update you repository to the HEAD revision.&lt;br /&gt;&lt;br /&gt;On the other hand, jQuery/Ajax has a little bug, that is, jQuery doesn&#39;t set &lt;em&gt;Accept&lt;/em&gt; header on Ajax call so that there&#39;s problem while you use &lt;code&gt;respond_to&lt;/code&gt; in Rails. Thanks for Jason Yate&#39;s patch, the script in version 0.1.1 (and HEAD revision) has been patched.&lt;br /&gt;&lt;br /&gt;Thanks for every helps from you all :-)</content><link rel='replies' type='application/atom+xml' href='http://jq4r.blogspot.com/feeds/5643706401778615107/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4932559015539029719/5643706401778615107' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4932559015539029719/posts/default/5643706401778615107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4932559015539029719/posts/default/5643706401778615107'/><link rel='alternate' type='text/html' href='http://jq4r.blogspot.com/2007/11/jq4r-011-released-and-fix-jqueryajaxs.html' title='jq4r 0.1.1 Released and Fix jQuery/Ajax&#39;s Bug'/><author><name>ericsk</name><uri>http://www.blogger.com/profile/18370675023130925184</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://blog.ericsk.org/wp-content/uploads/2006/09/171838031_7ae90ee7dd_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4932559015539029719.post-3914479057780300383</id><published>2007-11-08T11:37:00.000+08:00</published><updated>2007-11-08T11:52:04.879+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ANN"/><title type='text'>Combine the JS files</title><content type='html'>Since the common browsers create ONLY 2 HTTP requests at the same time on loading a page, I decide to combine the seperated JavaScript files into one &lt;code&gt;jq4r.js&lt;/code&gt; file. If you have installed this plugin, follow these steps:&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Update from the repository&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Remove the original &lt;code&gt;${RAILS_ROOT}/public/javascripts/jquery.js&lt;/code&gt; and &lt;code&gt;${RAILS_ROOT}/public/javascripts/jquery-form.js&lt;/code&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Re-execute &lt;code&gt;rake jq4r:install&lt;/code&gt; for installing the new &lt;code&gt;jq4r.js&lt;/code&gt; file.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;You NEVER need to modify your source.&lt;br /&gt;&lt;br /&gt;In the following revisions, I will put all the JavaScript code in &lt;code&gt;jq4r.js&lt;/code&gt;. How do you feel about it?</content><link rel='replies' type='application/atom+xml' href='http://jq4r.blogspot.com/feeds/3914479057780300383/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4932559015539029719/3914479057780300383' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4932559015539029719/posts/default/3914479057780300383'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4932559015539029719/posts/default/3914479057780300383'/><link rel='alternate' type='text/html' href='http://jq4r.blogspot.com/2007/11/combine-js-files.html' title='Combine the JS files'/><author><name>ericsk</name><uri>http://www.blogger.com/profile/18370675023130925184</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://blog.ericsk.org/wp-content/uploads/2006/09/171838031_7ae90ee7dd_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4932559015539029719.post-470581085057015680</id><published>2007-11-04T16:23:00.000+08:00</published><updated>2007-11-04T17:27:45.268+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="patch"/><title type='text'>The form tag use POST method by default</title><content type='html'>At revision 20, I add one line code that makes the &lt;code&gt;jquery_form_remote_tag&lt;/code&gt; use &#39;POST&#39; method (or type, in jQuery/Ajax convension) by default.&lt;br /&gt;&lt;br /&gt;Thanks lamys***@hotmail for providing this solution at the project&#39;s issue page on Google code.</content><link rel='replies' type='application/atom+xml' href='http://jq4r.blogspot.com/feeds/470581085057015680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4932559015539029719/470581085057015680' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4932559015539029719/posts/default/470581085057015680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4932559015539029719/posts/default/470581085057015680'/><link rel='alternate' type='text/html' href='http://jq4r.blogspot.com/2007/11/form-tag-use-post-method-by-default.html' title='The form tag use POST method by default'/><author><name>ericsk</name><uri>http://www.blogger.com/profile/18370675023130925184</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://blog.ericsk.org/wp-content/uploads/2006/09/171838031_7ae90ee7dd_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4932559015539029719.post-4215035367110623995</id><published>2007-10-24T17:18:00.000+08:00</published><updated>2007-10-24T17:58:38.108+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ANN"/><title type='text'>Canonical Pathname</title><content type='html'>In order to install jq4r more conveniently, I decide to change the path in the SVN repository. Now you need ONLY 1 step to install jq4r:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;script/plugin install http://jq4r.googlecode.com/svn/trunk/plugins/jq4r&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;You never need to execute &lt;code&gt;rake jq4r:install&lt;/code&gt; any more because I clone the task into &lt;code&gt;install.rb&lt;/code&gt; so that the Rails&#39;s &lt;code&gt;script/plugin&lt;/code&gt; would automatically execute the installation process.</content><link rel='replies' type='application/atom+xml' href='http://jq4r.blogspot.com/feeds/4215035367110623995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4932559015539029719/4215035367110623995' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4932559015539029719/posts/default/4215035367110623995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4932559015539029719/posts/default/4215035367110623995'/><link rel='alternate' type='text/html' href='http://jq4r.blogspot.com/2007/10/canonical-pathname.html' title='Canonical Pathname'/><author><name>ericsk</name><uri>http://www.blogger.com/profile/18370675023130925184</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://blog.ericsk.org/wp-content/uploads/2006/09/171838031_7ae90ee7dd_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4932559015539029719.post-4001650378560246852</id><published>2007-09-26T18:35:00.001+08:00</published><updated>2007-09-26T18:42:38.619+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="0.2"/><category scheme="http://www.blogger.com/atom/ns#" term="ANN"/><title type='text'>Prefix jq_ OR jquery_ ?</title><content type='html'>After I release the version 0.1, some people told me that it would be better that use &lt;code&gt;jquery_&lt;/code&gt; as the helpers&#39; prefix. The reason is that the helpers with &lt;code&gt;jquery_&lt;/code&gt; prefix are more readable. I accepted this suggestion and from version 0.2 on, each helper will use &lt;code&gt;jquery_&lt;/code&gt; as its prefix.&lt;br /&gt;&lt;br /&gt;This change, of course, is compatible with the &lt;code&gt;jq_&lt;/code&gt; prefix because I use the &lt;code&gt;alias_method&lt;/code&gt; to make them compatible. That&#39;s why Ruby is so popular -- powerful, elegant, and easy. :-p</content><link rel='replies' type='application/atom+xml' href='http://jq4r.blogspot.com/feeds/4001650378560246852/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4932559015539029719/4001650378560246852' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4932559015539029719/posts/default/4001650378560246852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4932559015539029719/posts/default/4001650378560246852'/><link rel='alternate' type='text/html' href='http://jq4r.blogspot.com/2007/09/prefix-jq-or-jquery.html' title='Prefix jq_ OR jquery_ ?'/><author><name>ericsk</name><uri>http://www.blogger.com/profile/18370675023130925184</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://blog.ericsk.org/wp-content/uploads/2006/09/171838031_7ae90ee7dd_t.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4932559015539029719.post-55816201909719114</id><published>2007-09-26T11:07:00.000+08:00</published><updated>2007-09-26T11:19:12.173+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="0.1"/><category scheme="http://www.blogger.com/atom/ns#" term="bug"/><title type='text'>jq_visual_effect&#39;s bug</title><content type='html'>There&#39;s a little bug in version 0.1. The &lt;code&gt;jq_visual_effect&lt;/code&gt; helper generates the default speed with an unquoted string. For example, it should be:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$(&#39;#me&#39;).fadeTo(&#39;normal&#39;, opa, function(){});&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;but the buggy method generates:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;$(&#39;#me&#39;).fadeTo(normal, opa, function(){});&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;There are 2 ways to eliminate this bug.&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;You can pass the &lt;code&gt;:speed&lt;/code&gt; argument with &lt;code&gt;&quot;&#39;slow&#39;&quot;&lt;/code&gt;, &lt;code&gt;&quot;&#39;normal&#39;&quot;&lt;/code&gt; or &lt;code&gt;&quot;&#39;fast&#39;&quot;&lt;/code&gt; (i.e. add the quote yourself).&lt;/li&gt;&lt;br /&gt;&lt;li&gt;The other way is to modify the &lt;code&gt;jq_visual_effect&lt;/code&gt; helper in &lt;code&gt;lib/jq4r.rb&lt;/code&gt; and add quotes around &lt;code&gt;${speed}&lt;/code&gt;.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://jq4r.blogspot.com/feeds/55816201909719114/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4932559015539029719/55816201909719114' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4932559015539029719/posts/default/55816201909719114'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4932559015539029719/posts/default/55816201909719114'/><link rel='alternate' type='text/html' href='http://jq4r.blogspot.com/2007/09/jqvisualeffects-bug.html' title='jq_visual_effect&#39;s bug'/><author><name>ericsk</name><uri>http://www.blogger.com/profile/18370675023130925184</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://blog.ericsk.org/wp-content/uploads/2006/09/171838031_7ae90ee7dd_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4932559015539029719.post-36618589370302759</id><published>2007-09-23T17:46:00.000+08:00</published><updated>2007-09-23T17:53:21.472+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="0.2"/><category scheme="http://www.blogger.com/atom/ns#" term="wishlist"/><title type='text'>What will be done in 0.2?</title><content type='html'>I want to add &lt;a href=&quot;http://ui.jquery.com/&quot; target=&quot;_blank&quot;&gt;jQuery UI&lt;/a&gt; helpers in version 0.2. Although this jQuery plugin has simplified the code of writing web UIs, it could be more easier to RoR developers if some ``templates&#39;&#39; are included in the jq4r plugin.&lt;br /&gt;&lt;br /&gt;If you want to use another features in jq4r, please tell me :-)</content><link rel='replies' type='application/atom+xml' href='http://jq4r.blogspot.com/feeds/36618589370302759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4932559015539029719/36618589370302759' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4932559015539029719/posts/default/36618589370302759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4932559015539029719/posts/default/36618589370302759'/><link rel='alternate' type='text/html' href='http://jq4r.blogspot.com/2007/09/what-will-be-done-in-02.html' title='What will be done in 0.2?'/><author><name>ericsk</name><uri>http://www.blogger.com/profile/18370675023130925184</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://blog.ericsk.org/wp-content/uploads/2006/09/171838031_7ae90ee7dd_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4932559015539029719.post-4113685017822496316</id><published>2007-09-20T18:01:00.000+08:00</published><updated>2007-09-26T11:20:35.277+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="0.1"/><category scheme="http://www.blogger.com/atom/ns#" term="ANN"/><title type='text'>jq4r version 0.1 released</title><content type='html'>In &lt;span style=&quot;font-weight: bold;&quot;&gt;jq4r&lt;/span&gt; version 0.1, the following helpers are provided:&lt;br /&gt; &lt;ul&gt;&lt;li&gt;&lt;h4&gt;jq_link_to_remote&lt;/h4&gt;This method works as the original &lt;code&gt;link_to_remote&lt;/code&gt; method. It creates a link tag but overrides the click event handler to send request to a remote action. The relationship between &lt;code&gt;jq_link_to_remote&lt;/code&gt; and &lt;code&gt;link_to_remote&lt;/code&gt; is that &lt;code&gt;jq_link_to_remote&lt;/code&gt; is a jQuery-based implementation of &lt;code&gt;link_to_remote&lt;/code&gt;&lt;/li&gt;  &lt;li&gt;&lt;h4&gt;jq_load_from_remote&lt;/h4&gt;This method also creates a link to a remote action but update the content (innerHTML) of a element by the response of a remote action. It&#39;s a simplified version of &lt;code&gt;jq_link_to_remote&lt;/code&gt;, because it simply generates &lt;code&gt;$(elem).load()&lt;/code&gt; script instead of &lt;code&gt;$.ajax(...)&lt;/code&gt;.&lt;/li&gt;  &lt;li&gt;&lt;h4&gt;jq_form_remote_tag&lt;/h4&gt;As the original &lt;code&gt;form_remote_tag&lt;/code&gt;, it creates the &lt;code&gt;form&lt;/code&gt; tag and overrides the submit event handler. &lt;code&gt;jq_form_remote_tag&lt;/code&gt; is the jQuery-based implementation of &lt;code&gt;form_remote_tag&lt;/code&gt;.&lt;/li&gt;  &lt;li&gt;&lt;h4&gt;jq_remote_form_for&lt;/h4&gt;As &lt;code&gt;jq_form_remote_tag&lt;/code&gt;, this method is another way to create the &lt;code&gt;form&lt;/code&gt; tag with AJAX actions.&lt;/li&gt;  &lt;li&gt;&lt;h4&gt;jq_submit_to_remote&lt;/h4&gt;Creates a button tag (accurately, an &lt;code&gt;input&lt;/code&gt; tag) thats submit data to a remote action. If the data are not specified, it will submit whole fields&#39; values within a &lt;code&gt;form&lt;/code&gt;.&lt;/li&gt;  &lt;li&gt;&lt;h4&gt;jq_periodically_call_remote&lt;/h4&gt;Requests a remote action periodically. With &lt;code&gt;:frequency&lt;/code&gt; option you man specify how long is the request be fired.&lt;/li&gt;  &lt;li&gt;&lt;h4&gt;jq_observe_field&lt;/h4&gt;Observes a field within a form. While the timer event comes (if you specify the &lt;code&gt;:frequency&lt;/code&gt; option) or there&#39;s something changed within the field, the callback function will be executed.&lt;/li&gt;  &lt;li&gt;&lt;h4&gt;jq_observe_form&lt;/h4&gt;As &lt;code&gt;jq_observe_form&lt;/code&gt;, it observes a form, instead.&lt;/li&gt;  &lt;li&gt;&lt;h4&gt;jq_visual_effect&lt;/h4&gt;By calling &lt;code&gt;jq_visual_effect&lt;/code&gt;, you can make animations in the page. As the original &lt;code&gt;visual_effect&lt;/code&gt;, the first parameter is the effect&#39;s name. In jq4r version 0.1, you may use &lt;code&gt;:animate&lt;/code&gt;, &lt;code&gt;:slide_up / :slide_down&lt;/code&gt;, and &lt;code&gt;:fade_in / :fade_out / :fade_to&lt;/code&gt;.&lt;/li&gt;&lt;/ul&gt;I will try to make &lt;span style=&quot;font-weight: bold;&quot;&gt;jq4r&lt;/span&gt; supports more jQuery methods or plugins. Just give it a trial, and feel free to send me feedbacks to make &lt;span style=&quot;font-weight: bold;&quot;&gt;jq4r&lt;/span&gt; much better. Thanks.</content><link rel='replies' type='application/atom+xml' href='http://jq4r.blogspot.com/feeds/4113685017822496316/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4932559015539029719/4113685017822496316' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4932559015539029719/posts/default/4113685017822496316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4932559015539029719/posts/default/4113685017822496316'/><link rel='alternate' type='text/html' href='http://jq4r.blogspot.com/2007/09/jq4r-version-01-released.html' title='jq4r version 0.1 released'/><author><name>ericsk</name><uri>http://www.blogger.com/profile/18370675023130925184</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://blog.ericsk.org/wp-content/uploads/2006/09/171838031_7ae90ee7dd_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4932559015539029719.post-4930725022504987054</id><published>2007-09-20T01:19:00.000+08:00</published><updated>2007-09-26T11:21:23.295+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ANN"/><title type='text'>Check jq4r out!</title><content type='html'>&lt;a href=&quot;http://www.rubyonrails.org/&quot; target=&quot;_blank&quot;&gt;The Rails framework&lt;/a&gt; installed the &lt;a href=&quot;http://www.prototypejs.org/&quot; target=&quot;_blank&quot;&gt;Prototype.js&lt;/a&gt; &amp;amp; &lt;a href=&quot;http://script.aculo.us/&quot; target=&quot;_blank&quot;&gt;Scriptaculous&lt;/a&gt; as its default JavaScript framework and defined many useful helper methods for easing the design of JavaScript(especially, AJAX).&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://jq4r.googlecode.com/&quot; target=&quot;_blank&quot;&gt;jq4r&lt;/a&gt; is a Rails plugin, which installs the &lt;a href=&quot;http://jquery.com/&quot; target=&quot;_blank&quot;&gt;jQuery&lt;/a&gt; JavaScript framework and provides useful helper methods, too. I wish this plugin also eases the design of the javascripts and make your RHTML clean.&lt;br /&gt;&lt;br /&gt;Just go to &lt;a href=&quot;http://jq4r.googlecode.com/&quot; target=&quot;_blank&quot;&gt;the jq4r project&#39;s page&lt;/a&gt;, and send me feedbacks if you have interesting ideas or suggestions.</content><link rel='replies' type='application/atom+xml' href='http://jq4r.blogspot.com/feeds/4930725022504987054/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4932559015539029719/4930725022504987054' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4932559015539029719/posts/default/4930725022504987054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4932559015539029719/posts/default/4930725022504987054'/><link rel='alternate' type='text/html' href='http://jq4r.blogspot.com/2007/09/check-jq4r-out.html' title='Check jq4r out!'/><author><name>ericsk</name><uri>http://www.blogger.com/profile/18370675023130925184</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='26' height='32' src='http://blog.ericsk.org/wp-content/uploads/2006/09/171838031_7ae90ee7dd_t.jpg'/></author><thr:total>4</thr:total></entry></feed>