Subj : Error: uncaught exception: Permission denied to get property HTMLDocument.forms To : netscape.public.mozilla.jseng From : Paul Date : Mon Apr 26 2004 11:48 am Hi, I use FireFox 0.8 and I get this error when I run the following: ------------------- var tid = null function waitLoad(page) { if(page.document.forms.length != 0) { clearInterval(tid) //other code here } } regPage = window.open(url, "blank") tid = setInterval('waitLoad(page)', 1000) ------------------- Why is this error and how do I avoid it? Can you suggest a better way to wait for the page to load? Sorry, if this is not the right place to ask such things. Thanks a lot -- There are 10 types of people - those who understand binary and those that don't .