<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>曾华水的博客 &#187; jQuery</title>
	<atom:link href="http://www.mrzeng.com/topics/jquery/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mrzeng.com</link>
	<description>NO.1 or Nothing</description>
	<lastBuildDate>Wed, 07 Sep 2011 12:47:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>jQuery的Ajax在表单上的运用</title>
		<link>http://www.mrzeng.com/post/jquery-ajax-form-example.html</link>
		<comments>http://www.mrzeng.com/post/jquery-ajax-form-example.html#comments</comments>
		<pubDate>Sun, 18 Oct 2009 15:50:18 +0000</pubDate>
		<dc:creator>zenghuashui</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.mrzeng.com/?p=95</guid>
		<description><![CDATA[jQuery的特点是它的使用起来简单，下面介绍一个今天写的表单实例。 1、引入jQuery。 2、验证和提交的代码 function Check() { //验证 if($("#mobile").val()=="" &#124;&#124;$("#uniquecode").val()=="" &#124;&#124; $("#textCode").val()=="" ) { alert("手机号、唯一码、验证码不得为空"); return false; } else { return true; } } function LoginSuccess() { $.post("get_check.php",{"mobile":$("#mobile").val(),"uniquecode":$("#uniquecode").val(),"textCode":$("#textCode").val()},function(data) { alert(data); $("#mobile").val(""); $("#uniquecode").val(""); $("#textCode").val(""); $("#randomcode").attr("src","doimg.php"); }) } function Login() { if(Check()) { LoginSuccess(); } } $(document).ready(function() { $("#submitbutton").click(function(){ Login(); }) }) 3、DEMO http://vip.peaksport.com 随机日志简单的Log4j配置在struts2的网站上看到一个不错的网站：http://www.vaannila.com 看到里面的一些文章很不错。从今天开始陆续翻译一些文章。今天开始翻译Log4j。 Log4j is [...]]]></description>
			<content:encoded><![CDATA[<p>jQuery的特点是它的使用起来简单，下面介绍一个今天写的表单实例。<br />
 1、引入jQuery。</p>
<p>2、验证和提交的代码</p>
<pre class="prettyprint">
function Check() {
	//验证
	if($("#mobile").val()=="" ||$("#uniquecode").val()=="" || $("#textCode").val()==""  ) {
		alert("手机号、唯一码、验证码不得为空");
		return false;
	} else {
		return true;
	}

}

function LoginSuccess() {
	$.post("get_check.php",{"mobile":$("#mobile").val(),"uniquecode":$("#uniquecode").val(),"textCode":$("#textCode").val()},function(data) {
		alert(data);
		$("#mobile").val("");
		$("#uniquecode").val("");
		$("#textCode").val("");
		$("#randomcode").attr("src","doimg.php");
	})

}

function Login() {
	if(Check()) {
		LoginSuccess();
	}
}

$(document).ready(function() {
	$("#submitbutton").click(function(){
		Login();
	})
})
</pre>
<p>3、DEMO <a href="http://vip.peaksport.com">http://vip.peaksport.com</a></p>
<h3  class="related_post_title">随机日志</h3><ul class="related_post"><li><a href="http://www.mrzeng.com/post/nginx-rewrite-in-common-systems.html" title="常用的PHP系统在nginx下的伪静态规则">常用的PHP系统在nginx下的伪静态规则</a><br /><small>常用的系统在nginx下的伪静态规则。


CMS系统
 
PHPCMS： 
location / { 
###以下为PHPCMS 伪静态化rewrite规则 
rewrite ^(.*)show-([0-9]+)-([0-9]+)\.html$ $1/show.php?itemid=$2&page=$3; 
rewrite ^(.*)list-([0-9]+)-([0-9]+)...</small></li><li><a href="http://www.mrzeng.com/post/guzhidejianchi.html" title="固执的坚持">固执的坚持</a><br /><small>刚刚从徐MM转载了一篇文章—蜘蛛的爱情。不禁想起刚看完的连续剧《白领公寓》。

1、白领公寓里讲的主要是珍惜眼前人。有时候，人固执的坚持自己心中的一个梦想，带着这个理由去做这些事情，可是事实上这些并不是真正适合他的。

2、另一个方向：两个长久相爱的人也不一定是真正的合适，是否也是一种固执的坚持，觉得说既然在一起就要一直的坚持，可事实上真正和他合适的，可以天长地久的在旁边的那一位。从这个角...</small></li><li><a href="http://www.mrzeng.com/post/chkdsk-f.html" title="磁盘碎片整理提示要运行Chkdsk /f的处理方法">磁盘碎片整理提示要运行Chkdsk /f的处理方法</a><br /><small>硬盘处理要进行碎片整理时候，如果出现一个写“磁盘碎片整理提示要运行Chkdsk /f”的对话框，那么处理方面如下：
 1、打开运行，输入Chkdsk /f ,在命令行中填写n，回车
 2、重启电脑。...</small></li><li><a href="http://www.mrzeng.com/post/vertrigoserv0717.html" title="Windows 下环境迅速搭建Php+Apache+mysql">Windows 下环境迅速搭建Php+Apache+mysql</a><br /><small>本文发表于计世网服务器论坛。http://serverbbs.ccw.com.cn/viewthread.php?tid=15141&amp;highlight=%2Byeying43

php在windows条件下要进行一系列配置，操作比较麻烦，而且容易出错。现在推荐一款软件，不仅可以轻松搭建php环境，而其可以对php环境进行很好配置和管理。
软件名字：VertrigoServ
最新版...</small></li><li><a href="http://www.mrzeng.com/post/amcharts1-what-about-amcharts.html" title="amCharts入门教程1：什么是Amcharts？">amCharts入门教程1：什么是Amcharts？</a><br /><small>Amcharts是一个非常优秀的FLASH图标组件，最新版本为可以接收CSV或XML文件数据，使用起来非常方便，支持HTML5，界面比JFreeChart华丽很多,而且可以与用户交互,动画效果非常漂亮。
它的官网:http://www.amcharts.com 
下载地址：http://www.amcharts.com/download

AmCharts可以免费使用，但免费使用的时候会在...</small></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.mrzeng.com/post/jquery-ajax-form-example.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

