随笔分类 - Js/Jquery
摘要:html代码: 1 2 3 4 5 6 删除 7 8 9 10 11 12 删除13 14 15 16 17 18 删除19 20 21 方法一:var trList = $("#history_income_list").children("tr") for (var i...
阅读全文
摘要:// document.getElementById("divCommit").style.display="none";// document.getElementById("oldContent").style.display="block"; $("#divCommit").hide(); ...
阅读全文
摘要:function submitWebsite() { if (checkForm()) { document.websiteAdd.submit(); }}
阅读全文
摘要:1、JSONObject json = new JSONObject();json.put("list", "test");msg=json.toString();JsonConfig jsonConfig = new JsonConfig(); //建立配置文件 jsonConfig.setIgnoreDefaultExcludes(false); //设置默认忽略 jsonConfig.setExcludes(new String[]{"jobs"}); //此处是亮点,只要将所需忽略字段加到数组中即可msg = JSONSeri
阅读全文
摘要:tableHtml += ""+title+"";function topInfoMenu(url,title) {}
阅读全文
摘要:------------------------------------ 2015-05-26------------------------------------//倒计时function ShowCountDown(year,month,day,divname) { var now = ne...
阅读全文
摘要:html页面代码: 新闻版块 Js代码:if ($("#searchNews").attr("checked") == "checked") { $("#newsTypeChoose").attr("style","display:block"); //如果id为searchNews的复选框为勾选状态的话,显示id为newsTypeChoose的div} else { $("#newsTypeChoose").attr("style",
阅读全文
摘要:1、判断checkbox是否为选中状态:if($("#searchNews").attr("checked")=="checked") { ...}2、设置checkbox为选中状态$("#searchNews").attr("checked","true");
阅读全文
摘要:1 <html> 2 <script> 3 var message="梦追网-有梦就来追 http://www.dream-chase.com" 4 var message=message+" " 5 i="0" 6 var temptitle="" 7 var speed="200" 8 function titler(){ 9 if (!document.all&&!document.getElementById)10 return11 documen
阅读全文
摘要:<html><head></head><body><iframe width="1200px" scrolling="no" height="820px" frameborder="0" noresize="noresize" src="javascript:'<!doctype html>\n <html>\n\t <head>\n\t\t<title>JS1k, 1k de
阅读全文

浙公网安备 33010602011771号