摘要: 第一::selected 匹配所有选中的option元素//下载模板function ISSelected(){if ($("#stageCode option:selected").val() == ""){alert("请选择学段!");return false;}else{$("#iframe_data").attr("src", "ExcelUpLoad.aspx?stageid=" + $("#stageCode option:selected" 阅读全文
posted @ 2011-10-08 17:04 365lei 阅读(4178) 评论(0) 推荐(0) 编辑
摘要: 在VTL中有三种类型的references:变量(variables)、属性(properties)、方法(methods)。用$字符开始的references用于得到什么;使用#字符开始的directives(指令)用于作些什么。第一:#foreach($zz in [1..$info.Rows.Count])#set($zzz = $zz + 7)<td id="changeTD$!{item.userId}$zzz" ondblclick="ChangeDropDown(this,'$zz','$item.get_Item($z 阅读全文
posted @ 2011-10-08 16:26 365lei 阅读(291) 评论(0) 推荐(0) 编辑