On Feb 10, 11:12 am, Aries <[email protected]> wrote:
> Is there a better way to do this so that no script error will appear
> when browsing the pages?
A safe way to avoid errors is to use try...catch.
window.onunload = function(){
try{GUnload()}catch(e){}
}
..
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---