无响应代码:
<pre name="code" class="html"><script type="text/javascript">
function loginOut(){
window.location.href("logout.action");
}
</script>
<button οnclick="loginOut()" style="font-size: 15pt">注销</button>
解决方法:
将
window.location.href("logout.action");改为<pre name="code" class="html">window.location.href="logout.action";
问题解决。