Hi,
Pls extend help in solving the following problem.
I am getting an error "Access is Denied" in window.open() in javascript.
I am calling the javascript "process()" method from applet using the following code:
| JSObject jsobj = JSObject.getWindow(this);
| // local file "c:\\abc.jpg" is to be opened
| String[] args1 = "c:\\abc.jpg";
| // calling the process method of javascript
| String returnValue = (String) jsobj.call("process", args1);
|
In javascript I am writing the process method.
| <script language="javascript">
| //opens the passed url in a new window
| function process(url){
| var win = window.open (url,'Folder','status=yes,menubar=yes,resizable=yes,width=700,height=500,scrollbars=yes');
| return "0";
| }
| </script>
|
Thanks in advance........
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887989#3887989
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3887989
|