点击按钮链接到新的页面,怎么传递一个值到新的页面中

点击按钮链接到新的页面,如何传递一个值到新的页面中?
在页面上,点击按钮跳转页面,如何传递一个值到新的页面?
部分代码:
<input type="button" style="cursor:hand; width:60px; height:30px;;" value="武 汉" onclick="window.location.href='test.html'"/>
<input type="button" style="cursor:hand; width:60px; height:30px;;" value="上海" onclick="window.location.href='test.html'"/>
点击武汉的按钮同时,如何将value中的武汉传给test.html页面中,点击其它按钮传递其它的value值
点击按钮链接到新的页面,怎么传递一个值到新的页面中

------解决思路----------------------
<input type="button" style="cursor:hand; width:60px; height:30px;;" value="武 汉" onclick="window.location.href='test.html?a='+this.value"/>
<input type="button" style="cursor:hand; width:60px; height:30px;;" value="上海" onclick="window.location.href='test.html?a='+this.value"/>

通过location获取