摘要:
var str = “hello world” document.write(str.length)输出字符串长度 12 给string 添加样式 <p>Big: " + txt.big() + "</p> <p>Small: " + txt.small() + "</p> <p>Bold: " + 阅读全文
2016年11月1日
2016年10月29日
摘要:
<script type="text/javascript"> function chanklink(){ document.getElementById("myAnchor").innerHTML="访问w3cschool"; document.getElementById("myAnchor") 阅读全文
2016年10月28日
摘要:
姓名输入框:<input type="text" value="默认有值"/> 密码输入框:<input type="text" value="默认有值"/> 性别选择框: <input type="radio" name="sex"/><label for="nan">男</label><inpu 阅读全文