If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

[RESOLVED] Accessing Hidden Object Content

I've got a hidden object in my head element and I want to access the content of the element when I change the source. I'm doing it like this because putting it directly in the page does not allow for dynamic height and so I want the browser to simply copy the content into a specific element. I already know how to access the element but I don't know how to access the content on all the main desktop browsers.

Could someone post the available methods, I can research the rest once I've got that.

This is highly simplified skipping a great deal of code. The point of the site.nav is to use ajax if it can otherwise let php handle it. The point in using anchors is to allow the site to be used even if there is no javascript (applied this rule to css as well).
The current location where I upload is wdaisy.cz.cc (not updated yet). This is for a friend so don't go assuming I got weird tastes for a guy.

Because the object height can't be made to adapt to it's content via css which prevents making the content of the object seem like part of the page itself rather than inside an object box. And since the head and it's elements are supposed to be hidden that becomes the best place for the object in the event that css is disabled.

Edit: it's only with html, json & plain text that I do this, all other embeded content is done normally.

of course it works but my way of designing is to use css as an enhancement not a neccessity and by simply using css to hide it will allow it to appear when css is disabled thereby defeating the purpose of using css as an enhancement. This is why I must take advantage of the head elements default properties to prevent the site looking bad when css is disabled. now back to the reason I made this thread, what are the properties/functions available to access the content of the object. I tried doing a search on this but it kept returning so much junk that it made finding useful information impossible.