[´ÓjQuery¿´JavaScript]
¡¡¡¡Ç°ÎÄÔÙÐøÊé½ÓÉÏÒ»»Ø£¬»°Ëµµ±ÈÕ°øÍí£¬Áîºü³å°Ý±ðʦ¸µ——¶î£¬¿´´íÊéÁË……£¨ÇáËÉÒ»ÏÂ~¹þ~£©
¡¡¡¡ÔÚÕâÒ»½ÚµÄÇ°°ëƪ£¬ÎÒÃÇÖØÎÂÁËJSÀïµÄÊý¾ÝÀàÐÍ¡£ÔÚÖÚ¶àµÄÊý¾ÝÀàÐÍÖ®ÖУ¬ÓÐÒ»ÖÖ½Ð×öobject£¬Ò²¾ÍÊÇÎÒÃdz£ËµµÄ¶ÔÏó¡£ÈçÇ°ËùÊö£¬¶ÔÏó¾ÍÊÇÒ»×éÊôÐԺͷ½·¨µÄ¼¯ºÏ¡£ÊôÐÔ¾ÍÊǶÔÏóËù¹ØÁªµÄ±äÁ¿£¬¶ø·½·¨ÔòÊǶÔÏóËù¹ØÁªµÄ·½·¨¡£
ÄÚÖöÔÏó
Global
Object
Function
Array
String
Boolean
Number
Math
Date
RegExp
Error
·ÇECMAÄÚÖöÔÏó
new ¹Ø¼ü×Ö
BOM
DOM
Ïà¹ØÎĵµ£º
1. oncontextmenu="window.event.returnValue=false" ½«³¹µ×ÆÁ±ÎÊó±êÓÒ¼ü
<table border oncontextmenu=return(false)> <td>no </table> ¿ÉÓÃÓÚTable
2. <body onselectstart="return false"> È¡ÏûÑ¡È¡¡¢·ÀÖ¹¸´ÖÆ
3. onpaste="return false" ²»×¼Õ³Ìù
4. oncopy="return false;" onc ......
/*
JavaScript½Å±¾£¬ÑéÖ¤±íµ¥ÖеÄÊý¾ÝÏî begin
-------------------------------------------------------------------------------
*/
function checkForm(objFrm){
var len = 0;
len = objFrm.elements.length;
var i = 0;
var objCheck;
//Îı¾¿ò
for(i = 0; i < len; i ++){
objCheck = objF ......
JavaScript ʹÓü¼ÇÉ
1. oncontextmenu="window.event.returnValue=false" ½«³¹µ×ÆÁ±ÎÊó±êÓÒ¼ü
<table border oncontextmenu=return(false)> <td>no </table> ¿ÉÓÃÓÚTable
2. <body onselectstart="return false"> È¡ÏûÑ¡È¡¡¢·ÀÖ¹¸´ÖÆ
3. onpaste="return false" ²»×¼Õ³Ìù
4. oncop ......
1. oncontextmenu="window.event.returnValue=false" ½«³¹µ×ÆÁ±ÎÊó±êÓÒ¼ü
<table border oncontextmenu=return(false)> <td>no </table> ¿ÉÓÃÓÚTable
2. <body onselectstart="return false"> È¡ÏûÑ¡È¡¡¢·ÀÖ¹¸´ÖÆ
3. onpaste="return false" ²»×¼Õ ......