
JS利用正则,判断是否是邮箱,邮编
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><title></title><meta charset="utf-8" /><script type="text/javascript">…
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><title></title><meta charset="utf-8" /><script type="text/javascript">…
<!DOCTYPE html> <html> <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title></title><meta charset="utf-8" /><style type="text/css">#dv1 {}.…
<!DOCTYPE html> <html> <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title></title><meta charset="utf-8" /><style type="text/css">table td…
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><title></title><meta charset="utf-8" /><script type="text/javascript">…
<script type="text/javascript">var leftOrLight = left;window.onload = function () {setInterval(function () {//var titleValue = document.title;//获取标题这里没有用上var testp1 = document.getElementById(p1).value;if (leftOrLight == left) {var…
<script type="text/javascript"> window.onload = function () {setInterval(function () {document.getElementById(txt1).value++;if (document.getElementById(txt1).value == 10) {location.href = http://www.luofenming.com;}},1000)}</script>//…
<script type="text/javascript">var setIntervalID;window.onload = function () {document.getElementById(btn1).onclick = function () {setIntervalID = setInterval(function () {document.getElementById(txt1).value++;},1000)};document.getElementBy…
<script type="text/javascript"> window.onload = function () {document.getElementById(testID).onclick = test();function test() {if (confirm("你确认要删除吗?")) {alert(删除成功);}else {alert(删除失败);}}}</script><i…
图片超出DIV自动按比例缩小的CSS样式img{width: auto;height: auto;max-width: 100%;max-height: 100%; }
<style>button{padding:5px 10px;margin-right: 12px;font-size: 12px;background-color: #609ee9;color:#fff;border:2px solid #609ee9;cursor: pointer;outline:none;border-radius:6px;}button:hover{background-color: #80b6f9;border-color: #80b6f9}button:active…