I am having a problem with jQuery and XHTML.
Basically, I have an object tag that contains a web page in a data attribute. Now I want that when I click the button, I get this web page and dynamically modify the CSS file that it is currently using.
I tried to get the page using jquery, but all I get is the object itself, not the web page contained in the object.
<div id = "content">
<object id="contentPageLeft" type="text/html" data="pageReportajes1.xhtml"></object>
<object id="contentPageRight" type="text/html" data="pageReportajes2.xhtml"></object>
</div>
Thank!!:)
Jose source
share