我有以下表格:
<form name="form1" action="">
<h5>Page Directory</h5>
<select id="dirlist" name="StoreDirectory" onchange="Dirlink()">
<option>What Department would you like?</option>
<option value="#Books">Books</option>
<option value="#Ebook">E-Books</option>
<option value="#Comics">Comics</option>
<option value="#Culture">Culture</option>
<option value="#Poetry">Poetry</option>
<option value="SiteMap.htm">Site Directory</option>
</select>
</form>
我试图编写一个函数,跳转到基于页面的页面上的锚点 选定的价值。有人可以帮忙吗?