<?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"
	>
<channel>
	<title>评论: 可以用button代替input type=&#8221;submit&#8221;吗</title>
	<atom:link href="http://www.ooso.net/index.php/archives/352/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ooso.net/index.php/archives/352</link>
	<description>Linux + Apache + Mysql + Php + Flash</description>
	<pubDate>Sun, 06 Jul 2008 20:43:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: volcano</title>
		<link>http://www.ooso.net/index.php/archives/352#comment-23825</link>
		<dc:creator>volcano</dc:creator>
		<pubDate>Thu, 12 Jun 2008 06:59:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/352#comment-23825</guid>
		<description>不设置name就好了</description>
		<content:encoded><![CDATA[<p>不设置name就好了</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 网页游戏</title>
		<link>http://www.ooso.net/index.php/archives/352#comment-23824</link>
		<dc:creator>网页游戏</dc:creator>
		<pubDate>Thu, 12 Jun 2008 06:40:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/352#comment-23824</guid>
		<description>get 提交会带上按牛的值,这个如何去掉.</description>
		<content:encoded><![CDATA[<p>get 提交会带上按牛的值,这个如何去掉.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: volcano</title>
		<link>http://www.ooso.net/index.php/archives/352#comment-21356</link>
		<dc:creator>volcano</dc:creator>
		<pubDate>Thu, 03 Apr 2008 10:39:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/352#comment-21356</guid>
		<description>就算是一张卫生纸，一条内裤，都有它自身的价值。关键是合理使用button标签。html被屏蔽是wordpress的默认行为，不过有部分标签是被保留的，比如b,strong,ul,li之类的。</description>
		<content:encoded><![CDATA[<p>就算是一张卫生纸，一条内裤，都有它自身的价值。关键是合理使用button标签。html被屏蔽是wordpress的默认行为，不过有部分标签是被保留的，比如b,strong,ul,li之类的。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wh</title>
		<link>http://www.ooso.net/index.php/archives/352#comment-21304</link>
		<dc:creator>wh</dc:creator>
		<pubDate>Wed, 02 Apr 2008 09:05:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/352#comment-21304</guid>
		<description>咋的写的HTML标签被屏蔽掉了?用不着吧?这家网站的程序员不会把它转成HTML实体字符吗?</description>
		<content:encoded><![CDATA[<p>咋的写的HTML标签被屏蔽掉了?用不着吧?这家网站的程序员不会把它转成HTML实体字符吗?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wh</title>
		<link>http://www.ooso.net/index.php/archives/352#comment-21302</link>
		<dc:creator>wh</dc:creator>
		<pubDate>Wed, 02 Apr 2008 09:04:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/352#comment-21302</guid>
		<description>我也是觉得,button本来就不该出现在表单里,表单里的按钮最好是标记. 这样根本不会出现什么问题.</description>
		<content:encoded><![CDATA[<p>我也是觉得,button本来就不该出现在表单里,表单里的按钮最好是标记. 这样根本不会出现什么问题.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: achun</title>
		<link>http://www.ooso.net/index.php/archives/352#comment-18894</link>
		<dc:creator>achun</dc:creator>
		<pubDate>Fri, 11 Jan 2008 10:07:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/352#comment-18894</guid>
		<description>我认为 Button 并不是用来代替 input 的.
Button 是为了响应用户交互行为的.不是为了直接通过 Button 的 name 和 值 来向 server 提交数据的.
虽然 button 可以提交 name:value. 但我认为提交数据应该用 input
也就是说应该这样用 Button
提示信息
提交
也就是说 button 里应该永远看不到 name 属性.</description>
		<content:encoded><![CDATA[<p>我认为 Button 并不是用来代替 input 的.<br />
Button 是为了响应用户交互行为的.不是为了直接通过 Button 的 name 和 值 来向 server 提交数据的.<br />
虽然 button 可以提交 name:value. 但我认为提交数据应该用 input<br />
也就是说应该这样用 Button<br />
提示信息<br />
提交<br />
也就是说 button 里应该永远看不到 name 属性.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: volcano</title>
		<link>http://www.ooso.net/index.php/archives/352#comment-13306</link>
		<dc:creator>volcano</dc:creator>
		<pubDate>Tue, 17 Jul 2007 13:18:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/352#comment-13306</guid>
		<description>这样的话,还是直接用input来得简单,不容易出现意料之外的行为</description>
		<content:encoded><![CDATA[<p>这样的话,还是直接用input来得简单,不容易出现意料之外的行为</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aisdf</title>
		<link>http://www.ooso.net/index.php/archives/352#comment-13279</link>
		<dc:creator>aisdf</dc:creator>
		<pubDate>Tue, 17 Jul 2007 05:57:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/352#comment-13279</guid>
		<description>加个onclick="return false"就不会提交了...
要不你全用type="button" ,提交的加一个onclick="this.form.submit()"</description>
		<content:encoded><![CDATA[<p>加个onclick=&#8221;return false&#8221;就不会提交了&#8230;<br />
要不你全用type=&#8221;button&#8221; ,提交的加一个onclick=&#8221;this.form.submit()&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: volcano</title>
		<link>http://www.ooso.net/index.php/archives/352#comment-13257</link>
		<dc:creator>volcano</dc:creator>
		<pubDate>Tue, 17 Jul 2007 01:20:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/352#comment-13257</guid>
		<description>to vsky:
在firefox下，情况有所不同，表单提交的是button的value属性而不是innerHTML</description>
		<content:encoded><![CDATA[<p>to vsky:<br />
在firefox下，情况有所不同，表单提交的是button的value属性而不是innerHTML</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 神仙</title>
		<link>http://www.ooso.net/index.php/archives/352#comment-13256</link>
		<dc:creator>神仙</dc:creator>
		<pubDate>Tue, 17 Jul 2007 01:10:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/352#comment-13256</guid>
		<description>在只有一个button时，或者不放在form里的时候还是可以用的咯
button标签可以有更多的样式，比如可以加个图片什么的。</description>
		<content:encoded><![CDATA[<p>在只有一个button时，或者不放在form里的时候还是可以用的咯<br />
button标签可以有更多的样式，比如可以加个图片什么的。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vsky</title>
		<link>http://www.ooso.net/index.php/archives/352#comment-13255</link>
		<dc:creator>vsky</dc:creator>
		<pubDate>Tue, 17 Jul 2007 01:04:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.ooso.net/index.php/archives/352#comment-13255</guid>
		<description>button的值是写在节点之间的，实事上是innerHtml的值～这点上讲比input更灵活一点：例如，你可以设置一个value为&lt;b&gt;TEST&lt;/b&gt;
不过个人认为没有必要用button代替input吧</description>
		<content:encoded><![CDATA[<p>button的值是写在节点之间的，实事上是innerHtml的值～这点上讲比input更灵活一点：例如，你可以设置一个value为<b>TEST</b><br />
不过个人认为没有必要用button代替input吧</p>
]]></content:encoded>
	</item>
</channel>
</rss>
