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?
1
Expert's answer
2010-07-27T11:05:55-0400
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 the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS