todoItems[checkedID].confirm = checkBox.checked
and your code is not working because there is no this.id at first place ... also do you know that data is an object on line 39?
i thought onlick(function(this.id)) will pass that id of the elemement to the function? and i do receive that
yes it is index of object
Обсуждают сегодня