html中元素添加 onclick事件没有任何反应,
#leftdiv{
border-right:1px solid;
position:fixed;
top:130px;left:0px;
width:280px;
height:100%;
background-color:white;
}
#s1{
position:absolute;right:0px;top:10px;
}
<div id="leftdiv">
<span id="s1" value="隐藏" onclick="javascript:alert(123)">隐藏