摘要: protected void GridView1_RowDataBound1(object sender, GridViewRowEventArgs e) { if (e.Row.RowIndex > -1) { DropDownList ddlStatus = e.Row.FindControl... 阅读全文
posted @ 2015-05-29 09:43 yida_mingzhu 阅读(237) 评论(0) 推荐(0) 编辑
摘要: function selectSingleRadio(rbtn) { var radio = document.getElementsByTagName("radio"); var arrAll = document.all; for (i = 0; i ").value = rbtn.nex... 阅读全文
posted @ 2015-05-29 09:00 yida_mingzhu 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 前台:function yz2() { var username = $("#TextBox1").val(); $.ajax({ type: "POST", url: "UserAdd.aspx?action=ajax", data: "username=" + username, success... 阅读全文
posted @ 2015-05-29 08:47 yida_mingzhu 阅读(746) 评论(0) 推荐(0) 编辑
摘要: 1.验证【不能为空】 function yz() { var username = $("#TextBox1").val(); if (username == null || username == "") { alert("用户名不能为空!"); return false; }return ... 阅读全文
posted @ 2015-05-29 08:41 yida_mingzhu 阅读(173) 评论(0) 推荐(0) 编辑