checkbox dynamic create for jquery
- by user1397840
How do i create multiple checkbox for jquery to identify it?
example i have a html page with
this is call new.html
<div id =new> <input type=checkbox"></div>
at create.html
i want to use jquery to load multiple checkbox
<div id=load> <div>
$("#load).load(new.html)
so if i use a for loop to loop 10times to create 10 checkbox, how do i identify each checkbox uniquely?
for(var i = 0;i<10;i++){
$("#load).load(new.html)}