本站有介紹一個好東西叫

} function catsel_changed(target){ var fm = document.form2;var step=0; //alert("zno=" + (zno!="0") + "\nsubno=" + subno); if(target.selectedIndex==0){ fm.z.value='0'; fm.subno.value='0'; step=1; } else if(target.selectedIndex==1 && zno != "" && zno != "0" && fm.z.value != "" && fm.z.value != "0"){ fm.z.value=target[target.selectedIndex].value; fm.subno.value=''; step=2; } else if(subno != "" && subno != "0"){ fm.subno.value=target[target.selectedIndex].value; step=3; } else if(zno != "" && zno != "0"){ fm.subno.value=target[target.selectedIndex].value; fm.z.value=zno; step=4; } else if(zno == "0" && subno == "0"){ fm.z.value=target[target.selectedIndex].value; fm.subno.value=""; step=5; } } $(document).ready(function(){ function searchsubmit() { $("#form2").submit(); } $("#kwt").autocomplete('/webservice/AutoComplete.ashx' , {selectFirst:false}).result(searchsubmit); $(".SearchSet input.btn_srch").hover(function () {$(this).addClass("btn_srch_hover");},function () {$(this).removeClass("btn_srch_hover");}); /*search Button背景圖*/ $("#lnk_keyword_v6").each(function(){$(this).attr("href",$(this).attr("href") + "&ei=big5");}); }); // ]]> -->