I had declared 5 checkboxes with name and id attribute in a html:
<input type="checkbox" name="category" value="One" id=11>One<br/>
<input type="checkbox" name="category" value="Two" id=12>Two<br/>
<input type="checkbox" name="category" value="Three" id=13>Three<br/>
<input type="checkbox" name="category" value="Four" id=14>Four<br/>
After declaration, I want to run a javascript that would enable the checkbox1 using that checkbox id.
Let me know to clarify something.
checked="checked"
as attribute? – Felix Kling