Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

»ùÓÚjavascriptµÄÓû§µÇ¼ҳÃæÑéÖ¤

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("&nbsp;ÑéÖ¤Âë&nbsp;<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


Ïà¹ØÎĵµ£º

»ðÐÇÈËдµÄjavascript½Å±¾

<!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 ......

phpºÍjavascriptͨѶ

°ÑphpÊý¾Ý»òÖµ´«µÝ¸øjs
£ººÜ¼òµ¥£¬Ö±½ÓÔÚjsÖÐʹÓÃphp´úÂ룬»ì±à¼´¿É¡£
°ÑjsÊý¾Ý´«µÝ¸øphp
£º¿ÉÒÔʹÓôò¿ªÐ´°¿ÚµÄ·½Ê½£¬Í¨¹ýurlµØÖ·°ÑÊý¾Ý´«µÝ¹ýÈ¥¡£Ò²¿ÉÒÔʹÓÃajax£¬Í¨¹ýget»òpost´«µÝ¸øphp£¬Ò²¿ÉÒÔ±£´æcookieÈÃphpÀ´¶Á¡£
ÔÚ´«µÝÊý¾Ý¹ý³ÌÖпÉÄÜÓöµ½ÖÐÎıàÂë
ÎÊÌ⣬¿ÉÒÔͳһ±àÂ뷽ʽΪjsµÄescape£¬unescape£¬Ò²¿ÉÒÔÍ³Ò ......

JavascriptÖÐ×î³£ÓõÄ55¸ö¾­µä¼¼ÇÉ¡¾×ªÔØ¡¿

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 ......

JavascriptÖÐ×î³£ÓõÄ55¸ö¾­µä¼¼ÇÉ

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 ......

JavaScriptÅжÏÉÏ´«ÎļþµÄ´óС

<form     name="form1">  
  <input type="file"     name="file1"     onchange="checkimage
(value)">  
  </form>  
  <script     language="javasc ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ