get all checkboxes inside wrapping. element. var options = el.getElementsByTagName. ('input');. // assign a function each checkbox on click.
確定! 回上一頁