Hi! I've been having a bit of a problem with jQuery and XHTML.
Basically, I've got an object tag that contains a Web Page in its data attribute. Now, what I want is that when I click a button I get this web page and dynamically change the CSS file it's currently using.
I've tried to get the page by using jquery, but all I get is the object itself, not the webpage 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>
Thanks!! :)