JavaScriptÓëDropDownList
´ó¼Ò¶¼ÖªµÀ£¬.NETÖÐһЩWeb·þÎñÆ÷¿Ø¼þ½âÎö²¢±àÒ룬×îÖÕ±»äÖȾµÄʱºò£¬ÆäʵÊÇת»¯³ÉÁËÆÕͨµÄhtml¿Ø¼þ£¬±ÈÈç<asp:LinkButton>¿Ø¼þ¾Í±»äÖȾ³ÉÁË<a>êµã¿Ø¼þ£¬ÕâÀïÒª½²µÄDropDownList¿Ø¼þÒ²Ò»Ñù£¬±»äÖȾ³ÉÁËÆÕͨµÄselect¿Ø¼þ£¬ÔÚÈçϵÄasp.netÒ³ÃæÖж¨ÒåÁËÒ»¸öweb·þÎñÆ÷¿Ø¼þDropDownListºÍÒ»¸öÆÕͨµÄselect¿Ø¼þ£¨Ö÷ҪΪÁ˶Աȣ©¡£
´úÂë
<asp:DropDownList ID = "ddlCities" runat = "server">
<asp:ListItem Value = "0">³¤É³</asp:ListItem>
<asp:ListItem Value = "1">±±¾©</asp:ListItem>
<asp:ListItem Value = "2">Ìì½ò</asp:ListItem>
<asp:ListItem Value = "3">Ä®ºÓ</asp:ListItem>
</asp:DropDownList>
<select id = "ddlNames" runat ="server">
<option value = "0">James</option>
<option value = "1">Green</option>
<option value = "2">Lily</option>
<option value = "3">Lucy</option>
</select>
¡¡¡¡ÔÚä¯ÀÀÆ÷Öв鿴¸ÃÒ³Ã棬²¢µã»÷²é¿´Ô´Îļþ£¬²»ÄÑ¿´³ö£¬asp.netÒ³Ãæ±»äÖȾ³ÉÁËÈçϸñʽ£º
´úÂë
<select name="ddlCities" id="ddlCitys">
<option value="0">³¤É³</option>
<option value="1">±±¾©</option>
<option value="2">Ìì½ò</option>
<option value="3">Ä®ºÓ</option>
</select>
<select name="ddlNames" id="ddlNames">
<option value="0">James</option>
<option value="1">Green</option>
<option value="2">Lily</option>
&nb
Ïà¹ØÎĵµ£º
±¾ÎÄÖ÷ÒªÊdzöÓÚÓÐÅóÓÑʹÓÃÎÒÔÀ´Ð´µÄautocompleteµÄJS¿Ø¼þ¡£µ±Êý¾ÝÁ¿´óµÄʱºò£¬»á³öÏÖЧÂʼ«ÆäÂýµÄÇé¿ö£¬ÎÒÔÚÕâ¶Îʱ¼ä×ö³öµÄһЩ²âÊÔÒ²¼°Ò»Ð©¾Ñ飬Óë´ó¼Ò·ÖÏí£¬Èç¹ûÓдíµÄµØ·½£¬»¹ÇëÖ¸³ö¡£
¾¹ý²âÊÔ£¬ÎÒÃǻᷢÏÖÈçϵÄÇé¿ö»òÕß˵µÄ½áÂÛ£¬Èç¹ûÄúµÄ²âÊÔ½á¹ûÓëÎҵIJ»·û£¬Çë˵Ã÷ÔÒò£¬ÒÔ±ãÏ໥ѧϰ¡£
1£©µ±Ò»¸ö½Ï´óµÄHTML×Ö· ......
ÏÖÔÚÍøÒ³ÉϵÄ×ÖÌåÊÇÔ½À´Ô½Ð¡£¬±ð˵ÊÇÊÓÁ¦Ç·¼ÑÕß¾ÍÊǺÃÑÛ¾¦¿´¾ÃÁËÒ²ÌÛµÄÄÑÊÜ£¬ÓÚÊDZàдÁËÏÂÃæÕâ¶ÎС½Å±¾£¬½¨ÒéÍøÒ³ÖÆ×÷ÈËÄܹ»¼Óµ½ÍøÒ³´úÂëµÄ< head>ÖУ¬ÒÔ·½±ãÈõÊÓÈËȺ·Å´óä¯ÀÀ(½öÊÊÓÃÓÚIEä¯ÀÀÆ÷)£¡
¡¡¡¡´úÂëÈçÏ£º
¡¡¡¡< script language="javascript">
¡¡¡¡var i=0;
¡¡¡¡document.onkeydown = zoom;
¡¡¡¡ ......
JavaScriptµÄʵÏÖµÄMap£¬ÓÃ×Åͦ·½±ãµÄ£¬²»ÖªµÀÐÔÄÜÔõôÑù¡£
×Ô¼ºÓÃÖ»Óв»³¬¹ý10¸öÔªËØ£¬ËùÒÔÐÔÄÜÎÞËùνÁË¡£
/********************jsmap.js**************************/
/////// map Àà
function classMap() {
this.map = new Array();
var struct = function(key,
value){
& ......
JavascriptÖеÄArray¶ÔÏóûÓÐRemove·½·¨£¬ÔÚÍøÉÏÕÒµ½ÁËÒ»º¯Êý
function
RemoveArray(array,attachId
)
{
for
(
var
i
=
0
,n
=
0
;i
<
array.length;i
++
)
{
if
(array[i]
......