I want to increment the value of i . The “for” loop does not work.
$("a[href$='.xls']").appendTo(".xl1").attr('id','xl'+i);
I search all excel files and places them in a container and increment the value of their id.
Thanks
Jean
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
counting starts from i=0
You can read about function each() here http://api.jquery.com/each/