点击按钮刷新页面<a href="javascript:location.reload()" >刷新</a>
循环遍历中点击某个按钮执行函数
<input type="button" class="lock" code=""+data.userId+","+lockedNew+"" value=""+changeLock+""/>
$(".lock").click(function(){
var successCode=$(this).attr("value");
}
点击按钮刷新页面<a href="javascript:location.reload()" >刷新</a>
循环遍历中点击某个按钮执行函数
<input type="button" class="lock" code=""+data.userId+","+lockedNew+"" value=""+changeLock+""/>
$(".lock").click(function(){
var successCode=$(this).attr("value");
}