checkbox dynamic create for jquery

Posted by user1397840 on Stack Overflow See other posts from Stack Overflow or by user1397840
Published on 2012-06-27T02:59:37Z Indexed on 2012/06/27 3:16 UTC
Read the original article Hit count: 74

Filed under:
|

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)}

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about html