After just blindly using the selector referencing the input form; $('input[name=checkListItem]'), without understanding the syntax, I found myself asking why it looks the way it does.
In the end, two main questions come to mind.
1. What does $('input[name=checkListItem]') mean? I get that it's referencing the input form, but why are the square brackets used?
2. After noodling around on the web, one finds other ways of referencing a similar input form. Other means apparently utilize an ID established in the input element for the selector; example $('#anID'), and yet another version found mentions some syntax that appeals to an input form expecting text; example $('input:text'), as the selector. Verses the one used in our course; $('input[name=checkListItem]') and ignoring that there are usually a few different ways to complete a task, why use one version of the selector verses another?
Thanks for sharing your knowledge in advance.
Replace this line with your code.