易截截图软件、单文件、免安装、纯绿色、仅160KB

asp.net + jquery

<script type="text/javascript">
var loginName,checkUN,password,confirmPwd,email,subBtn,userName,checkTel,tel;
$(init);
function init()
{
    loginName = $("#loginName");
    loginName.bind("blur",checkUserName);
    password = $("#password");
    confirmPwd = $("#confirmPwd");
    userName = $("#userName");
    userName.bind("blur",checkRN);
    password.bind("blur",checkPwd);
    confirmPwd.bind("blur",checkConfPwd);
    email = $("#email");
    email.bind("blur",checkEmail);
    subBtn = $("#subBtn");
    subBtn.bind("click",subUser);
    checkTel = $("#checkTel");
    tel = $("#tel");
    tel.bind("blur",chkTel);
}
function checkUserName()
{
     loginName = $("#loginName").val();
     if(jQuery.trim(loginName)=="")
        {
            $("#loginName").focus();
            $("#checkUN").css("color","Red");
            $("#checkUN").text("用户名不能为空");
            return false;
         }
      else
      {
        $("#checkUN").text("验证中...");
        $.post("checkUser.ashx?tm="+new Date().getDate()+"&loginName="+loginName,function (result){
            if(result=="0")
            {         


相关文档:

asp.net中使用json前后台传值

使用input控件onclick传递json比较简单,
使用asp:Button 服务器控件onclick会回发刷新页面使json的值丢失。
在Handler1.ashx中使用静态变量存储当两个人同时操作的时候会出现问题,如果您有好的解决办法,希望能于大家分享。
以下代码大多来源于网上,在此感谢作者。
//前台
<script src="JS/json2.js" type="text ......

Asp.net中把cs文件编译成dll

上次我们说到的编译成的dll文件与cs文件在同一目录中,而不会放到虚拟目录的bin目录中,如何做才能够把cs
文件编译成dll且自动放到虚拟目录的bin文件夹中呢?
开始-------程序-------Microsoft Visual Studio.NET 2003-------Visual Studio.NET工具,点击其中的“Visual Studio.NET2003命令提示”,就会进入Mic ......

使用ASP.NET上传图片汇总

1 使用标准HTML来进行图片上传
前台代码:
<body> 
    <form id="form1" runat="server"> 
    <div> 
        <table> 
       &nbs ......

asp.net 读取Xml文件并进行DropDownList数据绑定

<asp:DropDownList ID="compactType" runat="server" AutoCallBack="True" Width="153px"> </asp:DropDownList>

<?xml version="1.0" encoding="utf-8" ?>
<roots>
<root>
<id>1</id>
<Culture> ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号