无刷新验证插入的数据是否存在
<script type="text/javascript">
$(function () {
$('#ctl00_ContentPlaceHolder1_TextArea1').xheditor({ upLinkUrl: "upload.aspx?immediate=1", upLinkExt: "zip,rar,txt", upImgUrl: "upload.aspx?immediate=1", upImgExt: "jpg,jpeg,gif,png", upFlashUrl: "upload.aspx?immediate=1", upFlashExt: "swf", upMediaUrl: "upload.aspx?immediate=1", upMediaExt: "avi" });
});
$(function () {
$("#ctl00_ContentPlaceHolder1_TextBox2").blur(function () { var content = $("#ctl00_ContentPlaceHolder1_TextBox2").val(); $.post("DoWrite.aspx", { name: content }, function (msg) { $("#ctl00_ContentPlaceHolder1_Label1").text(msg); }, "text"); });
});
</script>
$(function () {
$('#ctl00_ContentPlaceHolder1_TextArea1').xheditor({ upLinkUrl: "upload.aspx?immediate=1", upLinkExt: "zip,rar,txt", upImgUrl: "upload.aspx?immediate=1", upImgExt: "jpg,jpeg,gif,png", upFlashUrl: "upload.aspx?immediate=1", upFlashExt: "swf", upMediaUrl: "upload.aspx?immediate=1", upMediaExt: "avi" });
});
$(function () {
$("#ctl00_ContentPlaceHolder1_TextBox2").blur(function () { var content = $("#ctl00_ContentPlaceHolder1_TextBox2").val(); $.post("DoWrite.aspx", { name: content }, function (msg) { $("#ctl00_ContentPlaceHolder1_Label1").text(msg); }, "text"); });
});
</script>