I thought I may have found the solution under this post:
Why does JavaScript only work after opening developer tools in IE once?
But my problem is I have to close/open developer mode to get the js functions running. The function will not run when I just have the developer mode open. Rather, it waits until I clicked open/close developer mode window, then it will run.
It seems to hold the function in a queue and runs it after I have opened/closed developer mode.
Any possible idea of what is happening would be greatly appreciated.
Thank you all.
EDIT: The specific function call has the 2 lines below:
parent.document.getElementById('frameset_id').cols = '60%, *'
parent.window.frame_id.location.href='asp_file.asp?passID=' + ID
Again, the code will run when I open/close developer mode, so I do not believe it is a syntax error. I may need to explore alternatives to adjusting the cols size and assigning the frame location.