随笔分类 - JQuery
摘要:参数名类型描述urlString(默认: 当前页地址) 发送请求的地址。typeString(默认: "GET") 请求方式 ("POST" 或 "GET"), 默认为 "GET"。注意:其它 HTTP 请求方法,如 PUT 和 DELETE 也可以使用,但仅部分浏览器支持。timeoutNumbe...
阅读全文
posted @ 2015-01-27 22:15
琅琊天
摘要:1 var ids=[];2 ids=getChildren(ids, treeNode);//TreeNode是选中节点,ids是子节点id数组,格式:123,223,4,551.获取直接子节点的id//返回值包含选中节点的id,即ids[0]function getChildren(ids, t...
阅读全文
摘要:1 前台js: 2 var treeNodes; 3 $.ajax({ 4 async: false, 5 cache: false, 6 type: 'POST', 7 contentType: "application/json", 8 url: "/M...
阅读全文

浙公网安备 33010602011771号