
JQuery
夏凉风
朝着架构前进
展开
-
JQUERY ajax提交方式
function checkCorpID()//检测客户编号是否可用 { if($.trim($("#txtF_CORPID")[0].value)=="")//txtF_CORPID是客户编号输入框 { alert("请输入客户编号!"); } else { $("#checkFlag").html("正在检测");//显示提示信息 $.ajax({原创 2013-10-24 17:20:53 · 830 阅读 · 0 评论 -
jquery 解析json数据 并动态生成li数据
$().ready(function () { $.getJSON("getRecUserTree.action", function (result) { $.each(result.tree, function (i, field) { $("#cs").append("" + field.text + ""); //$("#mylx").append(" " +原创 2013-10-24 17:21:03 · 1538 阅读 · 0 评论 -
jquery之弹出框
.mainlist{padding:10px;} .btnbox{text-align:center;height:25px;padding-top:2px;} .confirmBtn{width:70px;} #windownbg{display:none;position:absolute;width:100%;height:100%;background:#000;top:0;left:0原创 2013-10-23 16:41:16 · 895 阅读 · 0 评论 -
ztree 例子
var setting = { view: { showIcon: showIconForTree, showLine: false }, async: { enable: true, url:"./getMenuUserTree.action", autoParam:["id"], otherParam:{"o原创 2013-11-20 16:42:06 · 1074 阅读 · 0 评论