我有这个滚动菜单:
<form class="woocommerce-ordering" method="get">
<select name="orderby" class="orderby">
<option value="menu_order" >Default sorting</option>
<option value="popularity" selected='selected'>Sort by popularity</option>
<option value="rating" >Sort by average rating</option>
<option value="date" >Sort by newness</option>
<option value="price" >Sort by price: low to high</option>
<option value="price-desc" >Sort by price: high to low</option>
</select>
<input type="hidden" name="attest" value="true" /></form>
我需要它来使用按钮更改值。如何仅使用按钮将数据发送到 url,例如“按价格排序:从低到高”?
谢谢你!