problems add input item to list javascript code example Example: on.click save to array <input type="checkbox" onclick="CheckBoxShortList('a','b','c');">