I need to access and element from within a frameset frame. For example if I have the following markup:
You need to get the Document object for the frame.
window.frames[1].document.getElementById('someElementId')