View Full Version : random new error message [solved]

08-14-2005, 02:54 AM
The solution: I changed the name of the div to an id. I changed the function to top.frames[0].document.getElementById('FRAME_Steps').style.display

I have this on one page:

<div name='FRAME_Steps' style="display:none">Test</div>

and this on another:

function FRAMES_Steps() {
top.frames[0].FRAME_Steps.style.display = 'block';

When i run it, it tells me that top.0.FRAMES.FRAME_Steps.style is not an object or null.

It was working, and then all of a sudden i started getting this error. There are no changes for me to undo to debug. What do i do?