摘要:
Ext.Ajax.request({ url : ctxpath + '/ShopManager/LoadPlanListGrid', params : {}, method : 'post', callback : function(options, success, response) { va 阅读全文
摘要:
<table border="1" width="50%" id="table"> <tr> <th>学号</th> <th>姓名</th> <th>操作</th> </tr> <tr> <td>xh001</td> <td>阮雌</td> <td><a href="javascript:;" on 阅读全文
摘要:
<table border="1" width="50%" id="table"> <tr> <th>学号</th> <th>姓名</th> <th>操作</th> </tr> <tr> <td>xh001</td> <td>阮雌</td> <td><a href="javascript:;" on 阅读全文
摘要:
/*输入检查*/ function user_input() { user = $('#user').val(); password = $('#password').val(); if (trim(user) == "" || trim(password) == "") { alert("用户名或 阅读全文
摘要:
<table border="1" width="50%" id="table"> <tr> <th>学号</th> <th>姓名</th> <th>操作</th> </tr> <tr> <td>xh001</td> <td>阮雌</td> <td><a href="javascript:;" on 阅读全文
摘要:
window.onload = function(){ // 鼠标移动改变背景,可以通过给每行绑定鼠标移上事件和鼠标移除事件来改变所在行背景色。 var tr=document.getElementsByTagName("tr"); for(var i=0;i<tr.length;i++){ bgc 阅读全文
摘要:
1、Array.prototype.slice.call() 这种方法是借用了数组原型中的slice方法,返回一个数组。slice方法的内部实现: Array.prototype.slice = function(start,end){ var result = new Array(); start 阅读全文
摘要:
//返回元素中的索引值获取 <div> 元素的第一个类名(索引为0):if (!("classList" in document.documentElement)) { Object.defineProperty(HTMLElement.prototype, ‘classList‘, { get: 阅读全文
摘要:
<body> <ul class="wrapper"> <li class="item item1"></li> <li class="item item2">ggg</li> <li id="x1" class="fgr item3">hoo</li> </ul><p id="demo">请点击按 阅读全文