Filips Houbrechts
asked on
Prevent or hide javascript error
Hi,
How can I prevent error messages showing on the statusbar of the browser?
I have an object (newwin = window.open(...)) that is only created by clicking a button but there is always a check to see is newwin is already open.
So when I enter the page, newwin is not existing and javascript check shows me the error in the statusbar saying: 'newwin' is undefined.
How can I hide or even prevent that error?
Thanks in advance.
Filips
How can I prevent error messages showing on the statusbar of the browser?
I have an object (newwin = window.open(...)) that is only created by clicking a button but there is always a check to see is newwin is already open.
So when I enter the page, newwin is not existing and javascript check shows me the error in the statusbar saying: 'newwin' is undefined.
How can I hide or even prevent that error?
Thanks in advance.
Filips
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
glad to help :-)
ASKER
Thanks a lot ahosang.
Filips