I have this loop:
for(k=0;k<colNames.length;k++){
alert(colNames[k]);
}
Right now, it just alerts the user of the values in the array. How can I alert them of the index AND the value of each element in that array?
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.
Like this?