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

javascript¸ßÊÖÇë½ø

javascriptÖÐ2¼¶Ê¼þÖÐDOM°ÑËü·ÖÎļþÊ÷£¬ÄǸöÎļþÊ÷µÄ½á¹¹ÊÇÔõôÑùµÄ£¿2¼¶´«²¥Öи¸½ÚµãºÍ×Ó½ÚµãµÄ¹Øϵ£¬ÄܾٸöÀý×Ó˵Ã÷Ò»ÏÂÂð£¿ÊéÉÏдµÃºÜÂÒ£¬Àý×ÓҲû¾Ù¡£Ð»Ð»ÁË£¡





µÍÊÖÆ®¹ý¡£

˵ÆðÀ´ÊÇͦ¸´Ôӵģ¬²»¹ýÂ¥Ö÷¿ÉÒÔÔÚJavaScriptȨÍþÖ¸ÄÏ£¨µÚËİ棩ÖÐ×ÐϸÑо¿2¼¶DOMµÄʼþ¡£
ÄÇÀïдµÄ·Ç³£Ïêϸ£¡×£ÄãºÃÔË°É¡£

¹Ø×¢


Ïà¹ØÎÊ´ð£º

ÇóÒ»¸öÓÃÕýÔò±í´ïʽʵÏÖ¼òµ¥ÑéÖ¤µÄJavaScript´úÂë

ÈçÓÐÒ»¸ötextbox£¬Óû§ÊäÈëºóµãbutton°´Å¥Ê±£¬ÊµÏÖÓÃJavaScript¶ÔtextboxÊäÈëÐÅÏ¢µÄÑéÖ¤£¬ÒªÇóÓÃJavaScriptÀ´ÊµÏÖ£¬±ÈÈçÑéÖ¤Óû§ÊäÈëµÄÊÇ·ñÊÇÊý×Ö¡£
Ï£Íû½«HTML´úÂëÒ»²¢Ð´³öÀ´¹þ£¬Ð»Ð»
HTML code:

<!DOC ......

ActiveXºÍJavaScriptµÄ½»»¥ÎÊÌâ

    ÎÊÌâÃèÊöÈçÏ£º
    ÓÃC#¿ª·¢µÄActiveXǶÈëÍøÒ³ÖУ¬¸ÃActiveXÖÐÓÐÒ»¸ö°´Å¥button1.ÏÖÔÚҪʹµÃÓû§µ¥»÷ÁËbutton1ºóʵÏÖÒ³ÃæÌøתµÄ¹¦ÄÜ£¬¼´Óɵ±Ç°µÄ1.htmÌøתµ½2.htm¡£
    Î ......

C#дJAVASCRIPT Êý×é

C#дJAVASCRIPT Êý×é

      protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
& ......

³õѧJavaScript£¬Ë­ÄÜÍƼöµãÊÓƵ»òÎÄÕÂ÷᣿

·¢ÏÖJavaScriptµÄ
IEºÍFirefox¼æÈÝÌرðÄѸ㡣¡£
ÓÐûÓкÃÓõÄÊÓƵ»òÎÄÕ½éÉÜѽ£¿

http://hi.baidu.com/1004/blog/item/c9bda7ef0db88814fcfa3c45.html

¿´¿´~·ÕâÀﶼÊǽéÉÜѧϰjavascriptµÄÍø ......

javascript ×Ö·û ±È½ÏÎÊÌâ

var a="some";
var b="some";
ÔõôÅÐ¶Ï a ºÍ b ÊDz»ÊÇÏàµÈѽ£¬
(ÓÃ==ºÃÏñ²»ÐÐ)

if (a!=b)
alert("×Ö·û²»·û")
else
alert("×Ö·ûÏàͬ")

if(a==b)¿ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ