window.onload = init;
function init(){
var args = 0;
if(true){
alert("xxxxxx");
args = 2;
}
else{
alert("00000");
args = 0;
}
alert(args);
}
=======================================
var args = 0;
var focusPerson = $("#focusPerson"+itemid).html();
if(focusPerson == "设置"){
$("#focusPerson"+itemid).html("取消");
args = 1;
}
else{
$("#focusPerson"+itemid).html("设置");
//args = 0; // 注释掉 此行 代码,程序才能继续执行, 费解
}
alert(args);