The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript To-do-list Site issues Re: To-do-list Site issues


Okay, near as I can figure, the checkbox clearing bug is tied to the variable “t” which sets window.todoTable.innerHTML (within your onClick function). When I remove the variable todoStatus from that string, and replace it with this string:

I get the opposite case–not only are all new to-dos already checked, as expected, but so are existing ones that were unchecked.