1.页面打开与关闭时的事件响应
<body onload="timeshow()" onunload="user_logout();">
onload为页面打开时的事件响应
onunload为页面关闭时的事件响应

2.html中 下拉菜单select 的选中属性是selected
eg:
<select>
<options id="1">1</options>
<options id="2" selected>2</options>
<options id="3">3</options>
</select>
则默认选种的是第2列
评论
发表评论

您还没有登录,请登录后发表评论

fancool
搜索本博客
最近加入圈子
存档
最新评论