摘要: 1.普通的url传值 -----------------------------Js代码: 1 //页面加载自动分页 2 $(function(){ 3 //var url = "${pageContext.request.cont... 阅读全文
posted @ 2014-09-17 10:40 左手心_疼 阅读(3277) 评论(0) 推荐(0) 编辑
摘要: Js 1 // 图表转换方法:用于切换图与表。 2 var init = false; 3 function toggle(){ 4 if ($("#container").is(":hidden")) { 5 $("#contain... 阅读全文
posted @ 2014-09-18 10:57 左手心_疼 阅读(415) 评论(0) 推荐(0) 编辑
摘要: plotOptions: { line: { /* dataLabels: { enabled: true, ... 阅读全文
posted @ 2014-09-18 10:53 左手心_疼 阅读(6702) 评论(0) 推荐(0) 编辑
摘要: public String export() { HttpServletResponse response = ServletActionContext.getResponse(); filename = filename==null?"chart":filename; ... 阅读全文
posted @ 2014-09-18 10:47 左手心_疼 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 1.append(content|fn)概述向每个匹配的元素内部追加内容。这个操作与对指定的元素执行appendChild方法,将它们添加到文档中的情况类似。2.appendTo(content)概述把所有匹配的元素追加到另一个指定的元素元素集合中。实际上,使用这个方法是颠倒了常规的$(A).app... 阅读全文
posted @ 2014-07-31 16:44 左手心_疼 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 1 //对Iframe和图表设置高度 2 function f() { 3 parent.window.setWinHeight(parent.window.document.getElementById("frame_${queryCategory}")); 4 ... 阅读全文
posted @ 2014-07-31 15:31 左手心_疼 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 一、父窗口调用iframe子窗口方法 1、HTML语法: 2、父窗口调用子窗口:myFrame.window.functionName(); 3、子窗品调用父窗口:parent.functionName(); 简单地说,也就是在子窗口中调用的变量或函数前加个parent.就行 parent.wind... 阅读全文
posted @ 2014-07-31 15:27 左手心_疼 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 第一种方法:代码简单,兼容性还可以,大家可以先测试下。 1 function SetWinHeight(obj) 2 { 3 var win=obj; 4 if (document.getElementById) 5 { 6 if (win && !window.opera) 7 { ... 阅读全文
posted @ 2014-07-31 15:21 左手心_疼 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 1 2 3 4 ${item.text }5 6 7 用Jquery 方法判断checked 是否被选中.1 if($(".btn1").filter(":checked").le... 阅读全文
posted @ 2014-07-31 15:04 左手心_疼 阅读(5548) 评论(0) 推荐(1) 编辑
摘要: replace 函数用法如下:replace('将要更改的字符串','被替换掉的字符串','替换字符串')oracle 中chr()函数CHR() --将ASCII码转换为字符 语法CHR(number_code)示例select CHR(116) from dual; --返回't'几个常用的ch... 阅读全文
posted @ 2014-07-31 14:41 左手心_疼 阅读(7618) 评论(0) 推荐(0) 编辑