I am creating a checkbox using the following code.But its not showing as checked.
Dynamically created html as below
<label class="labelItem" for="chknumberList_13"><input type="checkbox" class="classNUmberItem" id="chknumberList_13" value="13" checked> Entrance 01</label>
Butthe checkbox is not showing as checked. Checkbox can be check using $("#chknumberList_13").prop("checked", true);
Is there any way possible to check it as checked upon creation using the dynamic html
Aucun commentaire:
Enregistrer un commentaire