摘要:
<script>var timeoutProcess1; //设置成全局变量。</script><input id="xxId"type="text" value="当前时间" /><input id="xxStart"type="button" value="开始计时" onClick="fn();"/><input id="xxStart2" type="button& 阅读全文
摘要:
1.直接在标签中设置。<input id="xxId"type="button" value="提交" disabled>2.通过js代码来控制。document.getElementById("xxId").disabled=true;document.getElementById("xxId").disabled=false;[说明]:该方法在某些浏览器中不支持效果不好。3.通过移除属性的方式来控制。document.getElementById("xxId" 阅读全文
摘要:
<html><head><style type="text/css"><!--.style1 {font-family: "隶书"}div {background:#70db93}#style2{ font-family:'隶书'; font-size: 76px; color:#000000;}-->/*css单行注释符号的写法*//**css多行注释符号的写法*/</style></head><body><span class="sty 阅读全文