Accessing elements in another HTML file
An example, my file would check files a.html, b.html and c.html. I have created three objects in my function. For each object, I would like to retrieve the innerHTML of a certain element in each of those files. For instance:
Is this possible? If so, does anyone have any pointers please?
objA.data = a.html > getElementById('theElement').innerHTML;
objA.style = a.html > getElementsByTagName('style').innerHTML;
objB.data = b.html > getElementById('theElement').innerHTML;
objB.style = b.html > getElementsByTagName('style').innerHTML;