上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 17 下一页
摘要: <script src="jquery-1.9.1.js"></script> <script type="text/javascript"> $('#txtUserName').focus(function () { $('#txtUserName').val(''); }) $('#txtPassWord').focus(function () { $('#txtPassWord').val(''); }) $(' 阅读全文
posted @ 2013-04-20 00:07 奇奇博客 阅读(444) 评论(0) 推荐(0)
摘要: <script src="jquery-1.9.1.js"></script> <script type="text/javascript"> $(function () { $('#btn').click(function () { alert($('#s option:selected').val()); }) }) </script>< /head>< body> <select id="s" multiple=&quo 阅读全文
posted @ 2013-04-20 00:05 奇奇博客 阅读(723) 评论(0) 推荐(0)
摘要: <script src="jquery-1.9.1.js"></script> <script type="text/javascript" > $(function () { $('#btnCreateP').click(function () { var createP = '<p><b><i>白日依山尽<br/>黄河入海流<br/>欲穷千里目<br/>更上一层楼</i></b></p> 阅读全文
posted @ 2013-04-20 00:01 奇奇博客 阅读(133) 评论(0) 推荐(0)
摘要: <style type="text/css"> table tr td { width:240px;height:240px; } .clasImg { width:500px;height:200px; } </style> <script src="jquery-1.9.1.js"></script> <script type="text/javascript"> $(function () { $('#Button1').click(function ( 阅读全文
posted @ 2013-04-18 15:04 奇奇博客 阅读(102) 评论(0) 推荐(0)
摘要: <script type="text/javascript"> //展开图片或收缩图片 $(function () { $('#Button3').click(function () { $('#img').show(5000); }) $('#Button4').click(function () { $('#img').hide(5000); }) }) </script> < /head> < body> <img alt="" i 阅读全文
posted @ 2013-04-18 14:57 奇奇博客 阅读(144) 评论(0) 推荐(0)
摘要: <style type="text/css"> .divFrame { width:260px;border:1px solid #666;font-size:10pt; } .divTitle { background-color:#eee;padding:5px; } .divContent { padding:5px;display:none; } .divCurrColor { background-color:red; } </style> <script src="jQuery/jquery-1.9.1.js"& 阅读全文
posted @ 2013-04-18 14:53 奇奇博客 阅读(269) 评论(0) 推荐(0)
摘要: <style type="text/css"> body { font-size:12px;text-align:center; } #tbStu { width:260px;border:1px solid #666;background-color:#eee; } #tbStu tr { line-height:23px; } #tbStu tr th { background-color:#ccc;color:#fff; } #tbStu .trOdd { background-color:#fff; } </style> <script 阅读全文
posted @ 2013-04-18 14:50 奇奇博客 阅读(150) 评论(0) 推荐(0)
摘要: <script type="text/javascript"> $(function () { $("#btnSubmit").click(function () { var txtName = $('#txtName').val(); var gender = $('#gender').is(':checked') ? '男' : '女'; var isMarry = $('#isMarry').is(':checked') ? 阅读全文
posted @ 2013-04-18 14:47 奇奇博客 阅读(206) 评论(0) 推荐(0)
摘要: <title></title> <script type="text/javascript"> function createNode() { var pNode = document.createElement('p'); var tNode = document.createTextNode('烟花三月下杨州'); pNode.appendChild(tNode); document.body.appendChild(pNode); } function r() { var pNode = docume 阅读全文
posted @ 2013-04-16 19:25 奇奇博客 阅读(391) 评论(0) 推荐(0)
摘要: <script type="text/javascript"> var i = 1; var n; function showImg() { if (document.getElementById('img').getAttribute("src") == "images/1.jpg") { document.getElementById('img').setAttribute("src","images/2.jpg"); } else { docum 阅读全文
posted @ 2013-04-16 19:17 奇奇博客 阅读(324) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 17 下一页