<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: JavaScript 表单验证(Form Validation)</title>
	<atom:link href="http://www.prglab.com/blog/js-tutorial/js-validation/feed" rel="self" type="application/rss+xml" />
	<link>http://www.prglab.com/blog</link>
	<description>多读书，读好书</description>
	<lastBuildDate>Mon, 19 Jul 2010 18:47:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: bluefox</title>
		<link>http://www.prglab.com/blog/js-tutorial/js-validation/comment-page-1#comment-1967</link>
		<dc:creator>bluefox</dc:creator>
		<pubDate>Wed, 09 Sep 2009 09:30:06 +0000</pubDate>
		<guid isPermaLink="false">http://prglab.com/blog/js-validation#comment-1967</guid>
		<description>站长的做法既利己又利人，就算文章是翻译过来的也是为大家做出了贡献，1L的什么都没做，却在这边大放厥词，未免让人觉得心态阴暗。</description>
		<content:encoded><![CDATA[<p>站长的做法既利己又利人，就算文章是翻译过来的也是为大家做出了贡献，1L的什么都没做，却在这边大放厥词，未免让人觉得心态阴暗。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aqua</title>
		<link>http://www.prglab.com/blog/js-tutorial/js-validation/comment-page-1#comment-1754</link>
		<dc:creator>Aqua</dc:creator>
		<pubDate>Mon, 03 Aug 2009 16:44:20 +0000</pubDate>
		<guid isPermaLink="false">http://prglab.com/blog/js-validation#comment-1754</guid>
		<description>如果你说的是JavaScript教程，教程首页已经写的很清楚了，本站JavaScript教程是本站根据W3schools.com上的英文教程自行翻译的，加入了一些修正和作者自己的理解。
本站大部分文章都是站长看到好的英文原版文章后觉得值得推荐，然后自行翻译的，而且所有翻译的文章都有注明原文出处。个别文章为转贴，也都注明了转贴来源。未标明出处或参考来源的均为本站原创。如果你在其他地方看到，那是抄袭我们的。最近已经发现许多站点抄袭我们的文章而不给出原文链接。
不过本站是个人站点，也没那么多时间去追究，反正文章也是为了自己存档方便，同时与编程爱好者共享。谢谢你来访，我想有素质的程序员也自然会自觉。</description>
		<content:encoded><![CDATA[<p>如果你说的是JavaScript教程，教程首页已经写的很清楚了，本站JavaScript教程是本站根据W3schools.com上的英文教程自行翻译的，加入了一些修正和作者自己的理解。<br />
本站大部分文章都是站长看到好的英文原版文章后觉得值得推荐，然后自行翻译的，而且所有翻译的文章都有注明原文出处。个别文章为转贴，也都注明了转贴来源。未标明出处或参考来源的均为本站原创。如果你在其他地方看到，那是抄袭我们的。最近已经发现许多站点抄袭我们的文章而不给出原文链接。<br />
不过本站是个人站点，也没那么多时间去追究，反正文章也是为了自己存档方便，同时与编程爱好者共享。谢谢你来访，我想有素质的程序员也自然会自觉。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 匿名</title>
		<link>http://www.prglab.com/blog/js-tutorial/js-validation/comment-page-1#comment-1752</link>
		<dc:creator>匿名</dc:creator>
		<pubDate>Mon, 03 Aug 2009 06:54:43 +0000</pubDate>
		<guid isPermaLink="false">http://prglab.com/blog/js-validation#comment-1752</guid>
		<description>看了这么多程序,感觉你的页面还接受得了...
但接受不了的就是你们文章没新意,没有多少原创...
好多我都在其它(W3)上看到的文章你们拿来show,不太好吧...</description>
		<content:encoded><![CDATA[<p>看了这么多程序,感觉你的页面还接受得了&#8230;<br />
但接受不了的就是你们文章没新意,没有多少原创&#8230;<br />
好多我都在其它(W3)上看到的文章你们拿来show,不太好吧&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.prglab.com/blog/js-tutorial/js-validation/comment-page-1#comment-1401</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Tue, 02 Dec 2008 11:05:36 +0000</pubDate>
		<guid isPermaLink="false">http://prglab.com/blog/js-validation#comment-1401</guid>
		<description>


function validate_required(field,alerttxt)
{
with (field)
{
if (value==null&#124;&#124;value==”&quot;)
{alert(alerttxt);return false}
else {return true}
}
}
function validate_form(thisform)
{
with (thisform)
{
if (validate_required(email,”Email 地址必须填写!”)==false)
{email.focus();return false}
}
}




Email: 



</description>
		<content:encoded><![CDATA[<p>function validate_required(field,alerttxt)<br />
{<br />
with (field)<br />
{<br />
if (value==null||value==”&#8221;)<br />
{alert(alerttxt);return false}<br />
else {return true}<br />
}<br />
}<br />
function validate_form(thisform)<br />
{<br />
with (thisform)<br />
{<br />
if (validate_required(email,”Email 地址必须填写!”)==false)<br />
{email.focus();return false}<br />
}<br />
}</p>
<p>Email:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.prglab.com/blog/js-tutorial/js-validation/comment-page-1#comment-1134</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 21 Aug 2008 06:04:47 +0000</pubDate>
		<guid isPermaLink="false">http://prglab.com/blog/js-validation#comment-1134</guid>
		<description>为什么老是提示email未定义,按钮必须为Submit才可以,button不行吗?</description>
		<content:encoded><![CDATA[<p>为什么老是提示email未定义,按钮必须为Submit才可以,button不行吗?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
