I have built a small web app for a client that allows them to choose files from a list with checkboxes. Each chosen file gets added to a password-protected zip file and emailed. It's a mess of javascript and PHP, so it's frustrating when IE does this.
I'll get this error in my javascript:
top.frames.FORM.document.files_form.zip_
kbytes is null in or not an object
But if I do this alert (just the letter "a") first, it doesn't error:
alert("a");
Why does IE force me to alert to avoid errors and is there a way around this?