I need to create a checkbox input dynamically in javaScript and parse a hardcoded value (test in the below examples). When alerting out the result, val is always null.
Wh