上一页 1 2 3 4 5 6 ··· 25 下一页

2020年3月18日

摘要: Ext.Ajax.request({ url : ctxpath + '/ShopManager/LoadPlanListGrid', params : {}, method : 'post', callback : function(options, success, response) { va 阅读全文
posted @ 2020-03-18 18:25 aivnfjgj 阅读(230) 评论(0) 推荐(0) 编辑

2020年3月16日

摘要: <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 阅读全文
posted @ 2020-03-16 16:32 aivnfjgj 阅读(513) 评论(0) 推荐(0) 编辑
摘要: <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 阅读全文
posted @ 2020-03-16 13:59 aivnfjgj 阅读(1384) 评论(0) 推荐(0) 编辑

2020年3月15日

摘要: /*输入检查*/ function user_input() { user = $('#user').val(); password = $('#password').val(); if (trim(user) == "" || trim(password) == "") { alert("用户名或 阅读全文
posted @ 2020-03-15 18:15 aivnfjgj 阅读(125) 评论(0) 推荐(0) 编辑

2020年3月14日

摘要: <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 阅读全文
posted @ 2020-03-14 14:43 aivnfjgj 阅读(3212) 评论(0) 推荐(1) 编辑

2020年3月13日

摘要: window.onload = function(){ // 鼠标移动改变背景,可以通过给每行绑定鼠标移上事件和鼠标移除事件来改变所在行背景色。 var tr=document.getElementsByTagName("tr"); for(var i=0;i<tr.length;i++){ bgc 阅读全文
posted @ 2020-03-13 13:57 aivnfjgj 阅读(1161) 评论(0) 推荐(0) 编辑

2020年3月11日

摘要: 1、Array.prototype.slice.call() 这种方法是借用了数组原型中的slice方法,返回一个数组。slice方法的内部实现: Array.prototype.slice = function(start,end){ var result = new Array(); start 阅读全文
posted @ 2020-03-11 22:55 aivnfjgj 阅读(217) 评论(0) 推荐(0) 编辑

2020年3月9日

摘要: //返回元素中的索引值获取 <div> 元素的第一个类名(索引为0):if (!("classList" in document.documentElement)) { Object.defineProperty(HTMLElement.prototype, ‘classList‘, { get: 阅读全文
posted @ 2020-03-09 22:55 aivnfjgj 阅读(456) 评论(0) 推荐(0) 编辑
摘要: <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">请点击按 阅读全文
posted @ 2020-03-09 16:26 aivnfjgj 阅读(404) 评论(0) 推荐(0) 编辑

2020年2月19日

摘要: var arr=[1,5,7,9,16,2,4]; 第一种方法,取最小值: var temp; for(var i=0;i<arr.length-1;i++){ for(var j=i+1;j<arr.length;j++){ if(arr[i]>arr[j]){ temp=arr[i]; arr[ 阅读全文
posted @ 2020-02-19 22:49 aivnfjgj 阅读(58) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 25 下一页

导航