Tag Archives: HTML

Writing and Updating DOM Elements in a Frame

Handling writing and updating objects in an iframe can be bothersome in most browsers. Sure things like jQuery tend to help, but not always.

A normal way to access a frame in jQuery is below:


$("#FRAME").contents()

Now, lets say you actually want to get another element inside of the frame, lets get the HEAD element.


$("#FRAME").contents().find("HEAD");


Continue reading