2011年1月25日
摘要: 1.document.write("");输出语句 2.JS中的注释为// 3.传统的HTML文档顺序是:document-html-(head,body) 4.一个浏览器窗口中的DOM顺序是:window-(navigator,screen,history,location,document) 5.得到表单中元素的名称和值:document.getElementById("表单中元素的ID号").name(或&#118alue) 6.一个小写转大写的&#106s:document.getElementById("output").&#118alue=document.getElemen 阅读全文
posted @ 2011-01-25 14:26 carekee 阅读(4222) 评论(0) 推荐(0)
摘要: 如果你找的javascript的东西的话,建议你 ctrl+F 直接在这个页上找,因为这里80%有你要找的,但是要让你挨着看的话,你就准备看完就去配眼镜!! 事件源对象 event.srcElement.tagName event.srcElement.type 捕获释放 event.srcElement.setCapture(); event.srcElement.releaseCapture(); 事件按键 event.keyCode event.shiftKey event.altKey event.ctrlKey 事件返回值 event.returnValue 鼠标位置 event.x 阅读全文
posted @ 2011-01-25 14:24 carekee 阅读(310) 评论(0) 推荐(0)
摘要: oncontextmenu="window.event.returnValue=false" style="overflow-y: hidden; overflow-x: hidden"ajs9 leftmargin="0" topmargin="0"body oncontextmenu="return false"/body!--禁止网页另存为: -- noscriptiframe src=*.html/iframe/noscript!-- 禁止选择文本: -- script type="text/javascript"var omitformtags=[ 阅读全文
posted @ 2011-01-25 14:23 carekee 阅读(28602) 评论(0) 推荐(1)