I have dynamically generated a list of wine types from the database using AJAx and PHP here is the function
function wineTypeHandler(data){
var Type = data.Type;
var countType = data.countType;
for(var i = 0; i < countType; i++){
$("#selectType").append(
$("<input />").attr({
type: checkbox ,
name: Type ,
class: wineTypeCheck ,
value: Type[i]
}), Type[i] + "<br />"
);
}
}
你们可以看到,我“向某些人申请”结果,这整件事情都做了罚款,因此,我的唯一问题是,我想要根据从这份清单中核实的内容更新另一个清单时,它会积极回答任何事情! 当我尝试这种方式时,还有许多其他方式
$(document).ready(function(){
$( :checkbox ).click(function(){
alert( started );
// other code
return true;
});
});
It doesnt alert anything!! Can anybody help me with this problem.
事先感谢你。