摘要: function getByClass(oParent,sClass) { var aResult = []; var aEle = oParent.getElementsByTagName("*"); for(var i = 0 ; i < aEle.length;i++) { fi(aEle[i 阅读全文
posted @ 2016-03-11 21:33 mingjixiaohui 阅读(184) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script> window.onload = function(){ var oInp = document.getElementById("inp"); v 阅读全文
posted @ 2016-03-11 21:26 mingjixiaohui 阅读(725) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <script> window.onload = function(){ var oUl = document.getElementById("u 阅读全文
posted @ 2016-03-11 21:20 mingjixiaohui 阅读(451) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> #div1{ width: 200px; height: 200px; background: #ccc; mar 阅读全文
posted @ 2016-03-11 21:18 mingjixiaohui 阅读(173) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script> window.onload = function(){ var oUl = document.getElementById("ul1"); va 阅读全文
posted @ 2016-03-11 20:59 mingjixiaohui 阅读(216) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> <script> window.onload = function(){ var oUl = document.getElementById("ul1"); 阅读全文
posted @ 2016-03-11 20:53 mingjixiaohui 阅读(173) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> <style type="text/css"> *{ margin: 0; padding: 0; } #div1 ul li img{ width: 200 阅读全文
posted @ 2016-03-11 19:54 mingjixiaohui 阅读(127) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> <style type="text/css"> #div1{ width: 50px; height: 50px; background: red; floa 阅读全文
posted @ 2016-03-11 19:22 mingjixiaohui 阅读(277) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> </head> <style type="text/css"> body{ background: url(img/0.png); } </style> <s 阅读全文
posted @ 2016-03-11 18:01 mingjixiaohui 阅读(228) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <select id="city"></select> <select id="cityarea"></select> <selec 阅读全文
posted @ 2016-03-11 15:43 mingjixiaohui 阅读(160) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> p{ width: 50px; height: 50px; background: red; position: 阅读全文
posted @ 2016-03-11 15:41 mingjixiaohui 阅读(299) 评论(0) 推荐(0) 编辑