日期:2014-05-16 浏览次数:20857 次
function clickButton() {
var options = {
url: 'Default.aspx?type=query',
type:'post',
success: function (responseText) {
if (responseText.indexOf('success') >= 0) {
alert('abc');
} else
alert(responseText);
}
};
$("#form1").ajaxSubmit(options);
}
<script language="javascript" type="text/jscript" src="js/jquery-1.4.2.min.js"></script>
<script language="javascript" type="text/jscript" src="js/jquery.form.js"></script>
<script language="javascript" type="text/jscript" src="js/jquery-1.4.2-vsdoc.js"></script>