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

javascript Êý¾Ý¿âÈ¡Êý¾Ý ȫѡºÍ·´Ñ¡

    javascriptËù¶ÔÓ¦µÄȫѡºÍ·´Ñ¡ ¡£²Ù×÷Êý¾Ý¿â¼Ç¼¡£
ÒÔÏÂÊÇÒ³Ãæ´úÂ룺
<tr>
<td colspan="6" width="100%">
<table border="2" width="100%">
<tr class="center">
<th width="20%" class="center">
ȫѡ/·´Ñ¡<input type="checkbox" name="all"
onclick="ckeckAll(this);">
</th>
<th width="20%" class="center">
ÏäÖ÷
</th>
<th width="20%" class="center">
ÏäºÅ
</th>
<th width="20%" class="center">
ÏäÐÍ
</th>
<th width="20%" class="center">
ÏäÀà
</th>
</tr>
<tbody id="listTable">
<logic:iterate id="ylxhlist" name="lssqdListForm"
property="ylxhlist"
indexId="index">
<%
int i=index.intValue();
%>
<tr>
<th width="20%" class="center">
<html:checkbox property="checkbox1" name="ylxhlist"
value="true" indexed="true"/>
<html:hidden name="ylxhlist" property="id" indexed="true"
/>
<html:hidden name="ylxhlist" property="zbid"
indexed="true" />
<html:hidden name="ylxhlist" property="xxdm"
indexed="true" />
<html:hidden name="ylxhlist" property="xldm"
indexed="true" />
<html:hidden name="ylxhlist" property="ztmc"
indexed="true" />
<html:hidden na


Ïà¹ØÎĵµ£º

JavaScript²¶»ñ´°¿Ú¹Ø±Õʼþ

JavaScript²¶»ñ´°¿Ú¹Ø±Õʼþ
¹Ø¼ü×Ö: window.closeʼþ
javascript²¶»ñ´°¿Ú¹Ø±ÕʼþÓÐÁ½ÖÖ·½·¨
1.ÓÃjavascriptÖØÐ¶¨Òå window.onbeforeunload()  ʼþ
ÔÚjavascriptÀﶨÒåÒ»¸öº¯Êý¼´¿É
function  window.onbeforeunload()  {  alert("¹Ø±Õ´°¿Ú")}
alert()ʼþ½«»áÔڹرմ°¿ÚǰִÐУ¬ÄãÒ²¿ÉÒÔÓà ......

[JavaScript] JavaScriptÖг£¼ûÒÉÎÊÕûÀí

JavaScriptÖеÄ"=="ºÍ"===" (ת)
Ê×ÏÈ£¬== equality µÈͬ£¬=== identity ºãµÈ£¨ÑϸñÏàµÈ£©¡£
==£¬ Á½±ßÖµÀàÐͲ»Í¬µÄʱºò£¬ÒªÏȽøÐÐÀàÐÍת»»£¬ÔٱȽϡ£
===£¬²»×öÀàÐÍת»»£¬ÀàÐͲ»Í¬µÄÒ»¶¨²»µÈ¡£
ÏÂÃæ·Ö±ð˵Ã÷£º
ÏÈ˵ ===£¬Õâ¸ö±È½Ï¼òµ¥¡£ÏÂÃæµÄ¹æÔòÓÃÀ´ÅжÏÁ½¸öÖµÊÇ·ñ===ÏàµÈ£º
1¡¢Èç¹ûÀàÐͲ»Í¬£¬¾Í[²»ÏàµÈ]
2 ......

JavaScript×ÖÄ»¹ö¶¯Ð§¹û

<!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 runat="server">
<title>ÎÞ±êÌâÒ³</title>

</head>
<body>
<form id ......

ÄÇЩÏà¼ûºÞÍíµÄ JavaScript ¼¼ÇÉ£¨×ªÔØ£©

JavaScript µÄ³É¹¦ÈÃÈ˽ò½òÀÖµÀ£¬Îª Web ÍøÒ³±àд JavaScript ´úÂëÒѾ­ÊÇËùÓÐ Web Éè¼ÆÊ¦µÄ»ù±¾¹¦£¬ÕâÃÅÓÐȤµÄÓïÑÔÔ̲Ø×ÅÐí¶à²»ÎªÈËÊìÖªµÄ¶«Î÷£¬¼´Ê¹¶àÄêµÄ JavaScript ³ÌÐòÔ±£¬Ò²Î´ÄÜÍêÈ«³Ô͸¡£±¾ÎÄ´Ó7¸ö·½Ãæ½²Êö JavaScript ÖÐÄÇЩÄã²»ºÜÊìÖªµ«·Ç³£ÊµÓõļ¼ÇÉ¡£
¼òÂÔÓï¾ä
JavaScript ¿ÉÒÔʹÓüòÂÔÓï¾ä¿ìËÙ´´½¨¶ÔÏóºÍÊý× ......

JavaScript Closure£¨±Õ°ü£© ÄÇЩÊÂ

1 Ò»ÆðÀ§»óʼÓÚ±äÁ¿µÄ×÷ÓÃÓò
ÇëÏÈ¿´ÏÂÃæµÄ´úÂ룺
ʾÀý1£º
     var message = " this is a very simple function ";
     function simpleFunc(){
             alert(message);
     }
±³ºóµÄµÀÀí´ó¼Ò¶¼¶®£¨Èç¹û²»¶®µÄ¿ÉÒÔÏȱðÍù ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ