<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[运维进行时]]></title> 
<link>https://blog.liuts.com/index.php</link> 
<description><![CDATA[互联网运维与架构]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[运维进行时]]></copyright>
<item>
<link>https://blog.liuts.com/post/106/</link>
<title><![CDATA[在prototype中遍历表单对象]]></title> 
<author>root &lt;admin@yourname.com&gt;</author>
<category><![CDATA[Ajax]]></category>
<pubDate>Thu, 22 May 2008 10:00:18 +0000</pubDate> 
<guid>https://blog.liuts.com/post/106/</guid> 
<description>
<![CDATA[ 
	在使用prototype的Updater方法提交一个表单时，需要遍历每个表单项的值，一个个给URL变量赋值很麻烦，方法如下：<br/><textarea name="code" class="javascript" rows="15" cols="100">
<DIV class=quote>function userinfo_do()
&#123;
 var url = '/center/edit';
 pars+=Form.serialize($(editform));
 var myAjax = new Ajax.Updater(
 'mainpage',
 url,
 &#123;
&nbsp;&nbsp;method: 'post',
&nbsp;&nbsp;parameters: pars,
&nbsp;&nbsp;evalScripts: true
 &#125;);
&#125;</DIV>
</textarea><br/>使用Form.serialize($(editform))，editform为表单名。<br/>Tags - <a href="https://blog.liuts.com/tags/prototype/" rel="tag">prototype</a>
]]>
</description>
</item><item>
<link>https://blog.liuts.com/post/106/#blogcomment830</link>
<title><![CDATA[[评论] 在prototype中遍历表单对象]]></title> 
<author>corsak &lt;corsak@qq.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Fri, 26 Aug 2011 10:43:19 +0000</pubDate> 
<guid>https://blog.liuts.com/post/106/#blogcomment830</guid> 
<description>
<![CDATA[ 
	我以前也很迷prototype，后来换jquery了，觉得两个完全不是一个等级的,jquery写插件还是方便多了。
]]>
</description>
</item><item>
<link>https://blog.liuts.com/post/106/#blogcomment2463</link>
<title><![CDATA[[评论] 在prototype中遍历表单对象]]></title> 
<author>变压器 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Sat, 09 Aug 2014 06:45:19 +0000</pubDate> 
<guid>https://blog.liuts.com/post/106/#blogcomment2463</guid> 
<description>
<![CDATA[ 
	呵呵，博主，就到你家随便溜溜，别介意哈
]]>
</description>
</item>
</channel>
</rss>