-1
我怎樣才能從URL中移除哈希地址哈希已被刪除
\t $checkboxes = $('input[type=checkbox');
$checkboxes.change(function(){
window.location.hash= '?a=' + $checkboxes.filter(':checked').map(function(){
return this.value;
}).get().join(",");
});
<input type="checkbox" name="word" value="one">one<br>
<input type="checkbox" name="word" value="two">two<br>
我想通過兩個像www.example.com/page1?a=one,two –