跳转的function
来源:互联网 发布:自学油画 知乎 编辑:程序博客网 时间:2024/06/08 02:14
function initDataGridLedsByType(type, parentId, nodeName) {var parentId = $('#<s:property value="type"/>Tree_menu').tree("getSelected").attributes.idForQuery;var nodeName = $('#<s:property value="type"/>Tree_menu').tree("getSelected").attributes.nodeName;var ledType=$('input[name="lamp_control_type"]').val();//var led=$('input[name="lamp_control_type"]').val();//alert(led);$.ajax({url : type + 'InitColumns.action',type : 'post', //请求方式cache : false,//是否缓存error : function() {$.messager.alert('提示信息', '初始化数据表格失败,请重试!', 'warning');},//这个是抛出加载失败的信息success : function(data) {$.each(data,function(i, n) {field = data[i].field;title = data[i].title;width = data[i].width;align = data[i].align;th = "<th field='"+ field +"' width='"+ width +"' align='"+ align +"'>"+ title + "</th>";$('#meterLEDDataGrid').find('tr').append(th);});var text;text = nodeName + "终端:路灯信息点";//alert(text);$("#meterLEDDataGrid").datagrid({url : "meterlcsList.action?parentId="+ parentId+"&ledType="+ledType,title : text,height : 350,frozenColumns : [ [ {field : 'ck',checkbox : true}, {field : 'id',title : 'ID',hidden : true}, {field : 'type',title : 'type',hidden : true} ] ],pageSize : 15,pageList : [ 15, 30, 50, 500 ],pagination : true,rownumbers : true,onSelect : function(rowIndex,rowData) {$("#led_control_03").combobox({url : "${pageContext.request.contextPath}/makeMeterlcsType.action?lcsMeterId="+ rowData.id,valueField : "id",textField : "text",panelHeight : "auto"});}});}});}
0 0
- 跳转的function
- JavaScript学习笔记之function函数改变form表单的action跳转到指定页面
- (function(){}})(); and (function(){}());的区别?
- function和function()的区别
- function和function()的区别
- $(function 和 function的区别
- JavaScript的function和function()的区别
- function, new function, new Function之间的区别
- 简述(function($){}) 和$(function(){}) 和$(function($){}) 的区别
- function, new function, new Function之间的区别
- function, new function, new Function之间的区别
- $( function() {} );和$( function($) {} );和( function($){} )(jQuery);的异同
- function, new function, new Function之间的区别
- function, new function, new Function之间的区别
- $(document).ready(function(){})和$().ready(function(){})和$(function(){})的区别
- function, new function, new Function之间的区别
- $( function() {} );和$( function($) {} );和( function($){} )(jQuery);的异同
- [Oracle Function]使用常用的Oracle Function
- java 打包成安装包无需依赖JRE轻松搞定。
- 一些linux资源
- python 2.x和3.x中的字符串区别
- 软件工程第三次作业分组
- 关于前端学习和笔试面试的总结
- 跳转的function
- hibernate数据查询的几种方式
- CXF与Spring的集成demo
- 初步NodeJS in Windows:从安装到入门
- 2PC、XA、DTP与两阶段提交
- USB OTG的工作原理
- 模态对话框+父子窗口交互+后台数据处理+刷新父页面
- ios8 xcode6设置LaunchImage启动图片
- JS实现页面打印