access denied problem javascript [urgent]
-
Dear Dost the problem I m facing with the javascript is that i m opening a new window using window.open method. but I got the error Access is denied. my code is as follows.
function opener() { var mywin; mywin=window.open("C:\WINDOWS\system32\searchrResult.html","mywindow"); } opener();
mail me @ mailto:trickyuk001@rediffmail.com try to be the best... whereever you go, -- modified at 6:22 Tuesday 13th December, 2005 -
Dear Dost the problem I m facing with the javascript is that i m opening a new window using window.open method. but I got the error Access is denied. my code is as follows.
function opener() { var mywin; mywin=window.open("C:\WINDOWS\system32\searchrResult.html","mywindow"); } opener();
mail me @ mailto:trickyuk001@rediffmail.com try to be the best... whereever you go, -- modified at 6:22 Tuesday 13th December, 2005hi. I would recommend refraining from granting access to a page in your windows directory.. if the page is just a plain .html page then rather copy it to your web project folder the try the following..
function opener() { var mywin = window.open('./searchResult.html','mywindow'); }
hope this helps :) Afzal "AV-E" Hassen -
hi. I would recommend refraining from granting access to a page in your windows directory.. if the page is just a plain .html page then rather copy it to your web project folder the try the following..
function opener() { var mywin = window.open('./searchResult.html','mywindow'); }
hope this helps :) Afzal "AV-E" HassenThanks it helps me. Uttam try to be the best... whereever you go,