Hi I am not too sure what your doesnt work means. But for a couple of things First, I dont think number for id is valid try make your id="id1" instead of id="1" Second try $().attr("checked", "checked") and $().attr("checked", "") or $().removeAttr("checked")
and see if you get anything