title: Generating unique IDs in JavaScript
body: <p>I need to generate an id in javascript that is guaranteed to be unique. The reason being, I have an app that has multiple tabs. In each of those tabs can be a form that is built dynamically. I want to use labels for the checkboxes in each of those forms, but since it's build dynamically with multiples of the same checkboxes in the dom, I need unique id's for each of them. How can this be accomplished? Or better yet, is there a way to assign the label to a checkbox without needing an id?</p>