ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ¹³Yahoo­º­¶ªº·j´M¿é¤J®Ø,¨DÃþ¦üªº»yªk

[µo°Ý] ¹³Yahoo­º­¶ªº·j´M¿é¤J®Ø,¨DÃþ¦üªº»yªk

§Ú·Q­n§ä¹³¤å®Ñ³nÅ餤,¿ï¾Ü¦r«¬¤j¤pªº¿ï¾Ü®Ø(¥i¥H¿é¤J¤]¥iª½±µ¿ï¾Ü)
¦A¥[¤W¹³Yahoo­º­¶ªº·j´M¿é¤J®Ø¨ººØ·|¶]¥X«Ü¦h§A¥i¯à­n¥´ªº·j´Mµ²ªG
µ²½×¬O§Ú¤À¦¨¤@­Ó¿é¤J®Ø©M²M³æ,¦ý¬O§Ú¤@ª½¤£À´javascriptªºdocument.write
½Ð¨D¦U¦ì¤j¤j¨ó§U,¥H¤U¬O¤@³¡¤À
  1. <form name="f1">
  2. <input type="text" id="input" placeholder="½Ð¿é¤J¤å¦r" onFocus="show()"/>
  3. <input type="button" value="·j´M"/><br>
  4. <select>
  5. <script>
  6. var total=1;
  7. input=document.f1.input.value;
  8. option=new Array();
  9. optleng=option.length;
  10. En=new Array(total);
  11. En[0]=new Array("a1","a2","a3");         //§Ú¥u¦³¥Î¨ì"a1",¨ä¥L¨â­Ó¬O«O¯dªº
  12. En[1]=new Array("b1","b2","b3");        //§Ú¥u¦³¥Î¨ì"b1",¨ä¥L¨â­Ó¬O«O¯dªº
  13. function show(){
  14. timer=setTimeout("show()",1000);
  15. for(x=0;x<total;x++){
  16. if(En[x][0].indexOf("input")!=-1){
  17. document.write("<option>"+option+"</option>");
  18. }
  19. }}}
  20. </script>
  21. </select>
  22. </form>


  23. if(optleng!=0){
  24. option.slice(0,option,En[x][0]);


  25. <script>
  26. function a2(){
  27. if(document.getElementById("bb").value=="2"){
  28. document.write("123");
  29. }else{alert("111");
  30. }}
  31. </script>
  32. <input type="text" id="bb" value="2"/>
  33. <input type="button" id="aa" onClick="a2();" value="·j´M"/>
½Æ»s¥N½X
¤j®a¦n,§Ú¬OÄг½!

¦^´_ 1# 27429200

½Ð°Ñ¦Ò
http://jqueryui.com/autocomplete/#combobox
¤ß¦w¡A¥­¦w   
µoªí¥ô¦óµL·N¸qªº·PÁ©ÎÄé¤ô¤å³¹¤@«ß¬å,¬Ã±¤±b¸¹,½Ð¸Ô¾\ª©³W!!

TOP

·PÁ¤j¤j!!
¤j®a¦n,§Ú¬OÄг½!

TOP

        ÀR«ä¦Û¦b : ¦³´¼¼z¤~¯à¤À¿ëµ½´c¨¸¥¿¡F¦³Á¾µê¤~¯à«Ø¥ß¬üº¡¤H¥Í¡C
ªð¦^¦Cªí ¤W¤@¥DÃD