Question: JavaScript. 10How would you rewrite the statement that follows that uses the DOM Core specification to use the DOM HTML specification? imageElement.getAttribute(src); a. imageElement.setAttribute(src); b.
JavaScript. 10How would you rewrite the statement that follows that uses the DOM Core specification to use the DOM HTML specification?
imageElement.getAttribute(src);
a.imageElement.setAttribute(src);
b. var newImage = img.src;
c.imageElement.src;
d.imageElement.img.src;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
