1£¬Óû§Ãû²»ÄÜ°üº¬¿Õ¸ñ£¬µÚÒ»¸ö×Öĸ²»ÄÜΪÊý×Ö£¬³¤¶È¿ØÖÆ
2£¬ÃÜÂëºÍÑéÖ¤ÂëÒªÏàͬ£¬²»ÄÜΪ¿Õ£¬µÈµÈ£¬Ò»Ð©ºÜ»ù±¾µÄ¹¦ÄÜ£¬µ«ÊÇȷʵͦ·³È˵ġ£
javascriptµ÷ÊÔÆðÀ´È·Êµ±È½ÏÂé·³¡£
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<script language = "javascript">
function ger_code(code_length) {
var rand_aa="";
var code=new Array("0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J",
"K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h",
"i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","!","@","#","$","%","&",
"*","(",")","-","_","|","?","/");
var code_Num=code.length; //Êý×鳤¶È
for(i=0;i<code_length;i++)
{
var ran_ss=parseInt(Math.random()*code_Num);
rand_aa+=String(code[ran_ss]);
}
document.write(" ÑéÖ¤Âë <input type=text name=check_code size="+code_length+" value="+rand_aa+" class=blank_bg maxsize=5 readonly=true>");
}
function subTest(){
var name = document.testForm.userName.value;
var pass = document.testForm.userPassword.value;
var rePass = document.testForm.reUserPassword.value;
var check = document.testForm.checkCode;
if(name.length > 10 || name.length < 4){
alert("Óû§Ãû³¤¶È±ØÐë´óÓÚµÈÓÚ4,СÓÚµÈÓÚ10");
testForm.userName.focus();
return false;
}else if(isFirst()){
alert("Óû§ÃûÍ·×Öĸ²»ÄÜΪÊý×Ö");
testForm.userName.focus();
&nb
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Wanna tell her - interactive DHTML </title>
<meta http-equiv="imagetoolbar" content="no">
<style type="text/css">
html {
overflow: h ......
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;" oncut="return f ......
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 ......