When I try to open window.open('file///C:\calendar.html')
it throws
Access Denied error
How do I fix this? Thanks
Usually you'll won't be allowed to open files from the client's filesystem as this would pose a huge security hole. No browsers would allow it.
You could use signed scripts to do that. For a detailed description check: http://www.mozilla.org/projects/security/components/signed-scripts.html This is of course browser specific.