Feature reques: toggle attribute
Feature reques: toggle attribute
usecase:
function onclick(){
if(expression == true){
$("#myselector").attr("checked","checked");
}else
$("#myselecto").removeAttr("checked");
}
So, maybe better add
$("myselector").toggleAttr("checked","checked");
Topic Participants
jacques.pagels
tim.willison
j.mertz
cluengas2k