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

¹ØÓÚjavascriptµÄÖØÔØ - Web ¿ª·¢ / JavaScript

ÇëÎÊÕâÑùµÄ»°×ÓÀ಻ÊǸù¾Ý²ÎÊýÁбíµÄ²»Í¬ÖØÔØÁËa·½·¨Â𣿣¿
µ«ÊÇΪʲôÊä³öÊÇChild Method count undefined ÄØ£¿£¿
²»ÊÇÓ¦¸Ã¸ù¾Ý²ÎÊýÁбíµÄ²»Í¬µ÷ÓÃÁË´Ó¸¸Àà¼Ì³ÐµÄa·½·¨£¬Êä³öParent Method countÂ𣿣¿
ÇëÖ¸½Ì£¡~~
function Parent() {
   
  this.a=function(){
  alert("Parent Method count");
}}

Children.prototype = new Parent();

function Children() {
  this.a = function(cc) {
  alert("Child Method count" + cc);
  }
  }


var c = new Children();


c.a();
JavaScriptÏÂûÓÐÖØÔØ£¬ÕâÑùдÊǰÑParentµÄº¯Êý¸²¸ÇÁË¡£

ÒªÖØÔØÐèÒª×ÔÒÑ×öЩ´¦Àí```

ÒòΪÄãдµÄ×ÓÀàa()·½·¨¸²¸Ç¸¸ÀàµÄa()·½·¨£¬
ֻҪעÊ͵ô×ÓÀàa()·½·¨¾Í¿ÉÒÔÁË¡£

   
  this.a=function(){
  alert("Parent Method count");
}}

Children.prototype = new Parent();

function Children() {
/*
  this.a = function(cc) {
  alert("Child Method count" + cc);
  }
*/
  }


var c = new Children();


c.a();



function Parent() {
   
  this.a=function(){
  alert("Parent Method");
}}

Children.prototype = new Parent();

function Children() {

  this.b = funct


Ïà¹ØÎÊ´ð£º

ÇóÒ»¸ö javascript µÄ ÀëÏßÎĵµ

×î½ü ʹÓà js, ¾­³£²»ÄÜÉÏÍø, Ï£ÍûÄÄλ´ïÈË ÄÜÌṩһ¸ö 
±È½ÏÍêÕûµÄ jsÀëÏßÎĵµ,ÐÂÒ»µã¶ù,ÍêÕûµã¶ùµÄ±È½ÏºÃ,±ÈÈçÉæ¼° dom ÕâЩ 
ÇëÖ¸µãÒ»¶þ.
Íò·Ö¸Ðл°¡.
http://download.csdn.net/source/566130
......

javascript´òÓ¡ÉèÖà - Java / Web ¿ª·¢

Çë½Ì¸÷λ´óÏÀ¡£
ÎÒÓÐÒ»Ò³Ãæa1.asp ÐèÒª´òÓ¡¡£ºáÏò£¬ÉÏ30£¬×ó5£¬ÓÒ5£¬ÏÂ5£¬Ò³Ã¼¡¢Ò³½ÅΪ¿Õ¡£
µ±Óû§µ½´ïa1.aspÒ³Ãæ¾Í×Ô¶¯ÉèÖÃÉÏÊöÃèÊö¡£À뿪a1.asp¾Í»Ö¸´Ä¬ÈÏÉèÖá£
Çë½Ì´óÏÀÃÇÈçºÎ±àÂ롣лл
û¿´Ã÷°×£¬ËµµÃ¸üÃ÷ ......

JavascriptÖÐÎļþ·¾¶µÄÎÊÌâ - Web ¿ª·¢ / Ajax

Îʸö±È½Ï»ù´¡µÄÎÊÌ⣬ÔÚÒ»¸öhtmlÎļþÖÐÒýÈëÁËÒ»¸ö.jsµÄÎļþ£¬ÄÇô¶ÔÓÚÕâ¸ö .js µÄÎļþÀ´Ëµ£¬ËüËù¶ÔÓ¦µÄµ±Ç°Â·¾¶Ó¦¸ÃÊÇÄÄÒ»¸ö£¿ÊÇhtmlÎļþËùÔڵķ¾¶£¬»¹ÊÇ .js ÎļþµÄ·¾¶£¿£¨htmlÓëjs²»ÔÚͬһÎļþ¼ÐÖУ©
ÓÉÓÚjsÖÐÒ ......

³õѧJavaScript ʱÖÓÎÊÌâ - Web ¿ª·¢ / JavaScript

<html>
<head>
<title>look the status change</title>
</head>
<body>
<script type="text/javascript">
var nowtime ;
var year ;
var month ,da ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ