2012.12笔记

1.onkeypress="if (event.keyCode < 48 || event.keyCode >57) event.returnValue = false;"

2.checked 判断true or false 用js 的 document.....

3.IE6|IE7中li底部3px间距BUG
#list li设置float:left

4.vertical-align:bottom;

5.a标签执行form的submit()事件 form1.submit();

6.ajax定时获取数据

7.asp.net 后台生成html标签 
<ul id="tryul" runat="server">
tryul.Controls.Add(new LiteralControl("<a href='ASPNET20Book.xls'>点击下载Excel</a>"));

8.join外联结
on v.Base_PaiDang equals ccatalog.Code  into joinm
                         from j in joinm.DefaultIfEmpty()

9.encodeURI()

 

posted @ 2012-12-06 10:09  Uoolo  阅读(158)  评论(0编辑  收藏  举报