jquery鼠标点击开关切换
//开关切换 无状态值切换
$("#swich_op").click(function(){
console.log($(this).attr("src"));
if($(this).attr("src") == "static/security_img/on.png"){
$(this).attr("src","static/security_img/down.png")
}
else{
$(this).attr("src","static/security_img/on.png")
}
})