Sportica   Sportica

随笔分类 -  JS

摘要:<html><head><title>test</title><link rel="stylesheet" type="text/css" href="./css/test.css" /></head><script> function testdown() //鼠标按下时 { //alert("aaa"); document.getElementById('txtptz').value=1; } function 阅读全文
posted @ 2012-05-24 15:26 qingjoin 阅读(2205) 评论(0) 推荐(1) 编辑
摘要:<td ><input id="rate2" name="n_rate" value="1" align="center" type="radio" onclick="rate_choice(0)" /><td>function test1(id_value){ if(0==id_value) { alert("ture"); }} 阅读全文
posted @ 2012-05-05 21:04 qingjoin 阅读(263) 评论(0) 推荐(0) 编辑
摘要:<td><input id="PTZ1" name="PTZ2" type="radio" value="0" onchange="test1()" /><td>function test1(){ if(document.getElementById("PTZ1").checked) { alert("aa"); }} 阅读全文
posted @ 2012-05-04 14:05 qingjoin 阅读(470) 评论(0) 推荐(0) 编辑
摘要:function reboot(){ var con=window.confirm("修改成功!是否重新启动?"); if(con==true) { Reboot(); } else { window.close(); }} 阅读全文
posted @ 2012-03-15 14:06 qingjoin 阅读(634) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="yue-Hans" lang="yue-Hans"><head> <meta http-equiv=" 阅读全文
posted @ 2012-01-12 10:12 qingjoin 阅读(4238) 评论(0) 推荐(1) 编辑
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> 使用jQuery解决IE不支持的option disable属性 </title> <meta http-equ 阅读全文
posted @ 2012-01-11 14:21 qingjoin 阅读(698) 评论(0) 推荐(0) 编辑
摘要:function settimes() { var time = new Date(); hours = time.getHours(); mins = time.getMinutes(); secs = time.getSeconds(); years = time.getFullYear(); mons = (time.getMonth() + 1); days = time.getDate(); mons = (mons < 10 ? '0' : '') + mons; da... 阅读全文
posted @ 2011-12-02 11:57 qingjoin 阅读(482) 评论(0) 推荐(0) 编辑

  Sportica
点击右上角即可分享
微信分享提示