76 289
Assignments Done
Successfully Done
In May 2019

Answer to Question #507 in AJAX | JavaScript | HTML | PHP for Gia

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!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions