Question #507

How do I set the ID of an element (say the newLI element) to iphrase, where i is the value of the index number in an array?

Expert's answer

All HTML tags have a parameter id, for example, <img src ="..." id = "image"> , then in javascript you can use this ID for search, putting before it the # sign. In this example, it will be #image.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS