onclick刷新当前页面 怎么刷新不了

<div> <i class="number"><if condition="$vote_date neq '' && ($vote_date eq 'wait' || $vote_date eq 'over')">
<button class="vote" style="background-color:transparent;border: 0px solid #A15EC8;" onClick="wait_vote();">投TA一票</button>
<elseif condition="$notice_content neq '' && $notice_content eq 'no_register'" />
<a href="#TipContent" onClick="anchor()"> <button class="vote">投TA一票</button> </a>
<elseif condition="$notice_content neq '' && $notice_content eq 'no_follow'" />
<a href="#fly_page" onClick="anchor_follow()"> <button class="vote">投TA一票</button> </a>
<elseif condition="$notice_content neq '' && $notice_content eq 'mobile_limit'" />
<button class="vote" onClick="votenotice(\'您的手机号不在允许投票地区\');">投TA一票</button>
<else />
<button class="vote" onClick="vote({weimicms:$all.id},this)">投TA一票</button>
<button class="vote" onclick="window.location.reload()">投TA一票</button>
</if>

第1个回答  2016-06-30
最后一个按钮本地测试正常 你浏览器关js了吧追问

这个不是多个按钮 是集合一个 按钮
就是点击投票后 刷新 可能我这样写不对 你看看要怎么修改

追答

你这是什么?html?php?asp?我怎么看那个都不像?

追问

怎么联系你? 帮我处理 修改一下?
是PHP 的投票

追答

php代码是要用括起来的
不是

相似回答