摘要:
学了点新的知识:俺也加点自己的JS技巧:1.访问html标记的自定义属性<inputid="aa"value="iloveyou!"msg="Messagefromattribute">alert(aa.getAttribute("msg"));alert(aa.getAttribute("value"));aa.setAttribute("msg","someAttribute");... 阅读全文
摘要:
1.oncontextmenu="window.event.returnValue=false"将彻底屏蔽鼠标右键<tableborderoncontextmenu=return(false)><td>no</table>可用于Table2.<bodyonselectstart="returnfalse">取消选取、防止复制3.onpaste="re... 阅读全文