64 693
Assignments Done
99,3%
Successfully Done
In September 2018

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!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions