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

DHTML (JavaScript Dom ±à³ÌÒÕÊõ)

 DHTMLÊÇ""dynamic HTML"(¶¯Ì¬HTML)µÄ¼ò³Æ.ÑϸñµØ˵,DHTML²¢²»ÊÇÒ»Ïîµ¥Ò»µÄм¼Êõ,¶øÊÇHTML,CSSºÍJavaScriptÕâÈýÖÖ¼¼Êõ½áºÏµÄ²úÎï.
DHTML±³ºóµÄº¬Òå:
           ÀûÓÃHTML°ÑÍøÒ³±ê¼ÇΪ¸÷ÖÖÔªËØ;
           ÀûÓÃCSSÉè¼Æ¸÷ÖÖÓйØÔªËصÄÅÅ°æÑùʽ²¢È·¶¨ËüÃÇÔÚ´°¿ÚÖеÄÏÔʾλÖÃ;
           ÀûÓÃJavaScriptʵʱµØ²Ù×ݺ͸ıä¸÷ÖÖÓйØÑùʽ.
 DOM ÊÇÒ»ÖÖAPI(Ó¦ÓóÌÐò½Ó¿Ú).¼òµ¥µÄ˵,API¾ÍÊÇÒ»×éÒѾ­µÃµ½Óйظ÷·½¹²Í¬ÈϿɵĻù±¾Ô¼¶¨.


Ïà¹ØÎĵµ£º

Javascript²Ù×÷ÏÂÀ­¿òµÄ³£Ó÷½·¨

Ô­ÎÄ£ºÁõÎä
| Javascript²Ù×÷ÏÂÀ­¿òµÄ³£Ó÷½·¨
ÏîÄ¿ÖÐÅöµ½ÐèÒªÓÃjavascript²Ù×÷ÏÂÀ­¿òµÄÇé¿ö£¬Ë³±ã×öÒ»ÏÂ×ܽᣬÁгöһЩ³£Ó÷½·¨£¬ÒÔÏ·½·¨¾ùÔÚFIRFOX3.5¼°IE8ÉϲâÊÔ¹ý£¬ÈçÓÐÆäËûä¯ÀÀÆ÷ÎÞ·¨Õý³£ÔËÐеÄÇëÓë±ÊÕßÁªÏµ¡£
//Ìí¼ÓÒ»¸öÏÂÀ­¿ò
function AddDropDownList(id,fatherCtl)
{
if(!document.getElementById(id) ......

javascriptµÄdelete

¸Õ¸Õ°Ý¶ÁÁË JavascriptµÄ±äÁ¿Óëdelete²Ù×÷·û ºÜÊÜÆô·¢¡£Ô­ÎÄֻ˵Á˽á¹û£¬Ã»¸üÉîÈëÍÆÀí×ܽáÒ»ÏÂΪʲô£¬ÒÔ¼°ÔõôÀí½âºÃÒ»µã£¬ÎÒÕâÀï²¹³ä×ܽáһϡ£
 /// <reference path="http://tech.idv2.com/2008/01/09/javascript-variables-and-delete-operator/" />
/*
Óëc++²»Í¬£¬javascriptµÄdelete²»»áɾ³ ......

JavaScript NameSpace

    ÃüÃû¿Õ¼ä£¬Ò»¿´¾ÍÖªµÀÖ÷ҪĿµÄÊÇΪÁ˱ÜÃâ³åÍ»¡£ÏÂÃæ¾ÍÀ´ËµÒ»ÏÂÈçºÎ´òÔì×Ô¼ºµÄJavaScriptÃüÃû¿Õ¼ä¡£
    ´òÔìJavaScriptÃüÃû¿Õ¼äÆäʵºÜ¼òµ¥£¬Ö»ÐèÒª½«×Ô¼ºµÄº¯Êý¡¢¶ÔÏó¡¢±äÁ¿µÈ·ÅÔÚÒ»¸öαÃüÃû¿Õ¼äÖУ¬¼´ÓÃÒ»¸öÄäÃûº¯Êý°ü×°ÆðÀ´¡£
(function(){
    function $(id){
&n ......

¼«¾­µäµÄJavaScript¿ò¼Üprototype.jsÖÐʵÏּ̳еķ½·¨

 ±¾ÎÄ·ÇÔ­´´
   
Object.extend = function(destination, source) {
for (var property in source) {
    destination[property] = source[property];
}
return destination;
}
Prototype ¶ÔObjectÀའ......

javascript½¨±í

 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head ru ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ