我有這樣如何將當前選項標記爲選中狀態?
index.php?key=toplist&list=magic
頁所以,如果該頁面例如在OM,我想在選擇菜單中選擇
<select name="skill" onchange="window.location.href=this.form.skill.options[this.form.skill.selectedIndex].value">
<option value="index.php?<?=QUERY_STRING?>&list=experience">Experience </option>
<option value="index.php?<?=QUERY_STRING?>&list=magic">Magic</option>
<option value="index.php?<?=QUERY_STRING?>&list=shielding">Shielding</option>
<option value="index.php?<?=QUERY_STRING?>&list=distance">Distance</option>
<option value="index.php?<?=QUERY_STRING?>&list=fishing">Fishing</option>
</select>
感謝
off:這會是一個脛骨相關的網站? – Maerlyn 2010-07-18 16:25:06