我在页面上有四个按钮,当我单击其中一个时,我希望它突出显示。
这些按钮用于将数据传递给控制器。他们是这样的:
<button name="region" id="region" type="button" onclick="window.location='/project/Viewdata/index/region/1'" class="current">ALL</button>
<button name="region" id="region2" type="button" onclick="window.location='/project/Viewdata/index/region/2'" class="current">1st</button>