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

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


Ïà¹ØÎĵµ£º

javascriptЧÂʾ­Ñé̸(Ò»)

±¾ÎÄÖ÷ÒªÊdzöÓÚÓÐÅóÓÑʹÓÃÎÒÔ­À´Ð´µÄautocompleteµÄJS¿Ø¼þ¡£µ±Êý¾ÝÁ¿´óµÄʱºò£¬»á³öÏÖЧÂʼ«ÆäÂýµÄÇé¿ö£¬ÎÒÔÚÕâ¶Îʱ¼ä×ö³öµÄһЩ²âÊÔÒ²¼°Ò»Ð©¾­Ñ飬Óë´ó¼Ò·ÖÏí£¬Èç¹ûÓдíµÄµØ·½£¬»¹ÇëÖ¸³ö¡£
¾­¹ý²âÊÔ£¬ÎÒÃǻᷢÏÖÈçϵÄÇé¿ö»òÕß˵µÄ½áÂÛ£¬Èç¹ûÄúµÄ²âÊÔ½á¹ûÓëÎҵIJ»·û£¬Çë˵Ã÷Ô­Òò£¬ÒÔ±ãÏ໥ѧϰ¡£
1£©µ±Ò»¸ö½Ï´óµÄHTML×Ö· ......

ÃîÓÃJavaScriptʵÏÖÍøÒ³µÄÈÎÒâËõ·Å

ÏÖÔÚÍøÒ³ÉϵÄ×ÖÌåÊÇÔ½À´Ô½Ð¡£¬±ð˵ÊÇÊÓÁ¦Ç·¼ÑÕß¾ÍÊǺÃÑÛ¾¦¿´¾ÃÁËÒ²ÌÛµÄÄÑÊÜ£¬ÓÚÊDZàдÁËÏÂÃæÕâ¶ÎС½Å±¾£¬½¨ÒéÍøÒ³ÖÆ×÷ÈËÄܹ»¼Óµ½ÍøÒ³´úÂëµÄ< head>ÖУ¬ÒÔ·½±ãÈõÊÓÈËȺ·Å´óä¯ÀÀ(½öÊÊÓÃÓÚIEä¯ÀÀÆ÷)£¡
¡¡¡¡´úÂëÈçÏ£º
¡¡¡¡< script language="javascript">
¡¡¡¡var i=0;
¡¡¡¡document.onkeydown = zoom;
¡¡¡¡ ......

javascriptʵÏÖkey value¶ÔÏó

JavaScriptµÄʵÏÖµÄMap£¬ÓÃ×Åͦ·½±ãµÄ£¬²»ÖªµÀÐÔÄÜÔõôÑù¡£
×Ô¼ºÓÃÖ»Óв»³¬¹ý10¸öÔªËØ£¬ËùÒÔÐÔÄÜÎÞËùνÁË¡£
/********************jsmap.js**************************/
/////// map Àà
function classMap() {
  this.map = new Array();
 
  var struct = function(key,
value){
  & ......

JavascriptÖеÄArrayµÄRemove

JavascriptÖеÄArray¶ÔÏóûÓÐRemove·½·¨£¬ÔÚÍøÉÏÕÒµ½ÁËÒ»º¯Êý
function
 RemoveArray(array,attachId
)
{
    
for
(
var
 i
=
0
,n
=
0
;i
<
array.length;i
++
)
    
{
        
if
(array[i] ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ