This function accepts a url which then is opened by the window.open(). How can I get this window to be full size or maximized? Thanks a lot.
<script language="javascript">
function openPop(url);
{
window.open(url);
}
</script>
I am trying to update the parent window by closing the child window. It gives me a permission denied error when the button is clicked.
<script>
window.opener.location.reload();
window.opener.focus();
</script>
I am trying to close the current window and reload the opener window. When the function performs I receive an error: permission denied. What would be causing this? Any help is appreciated.
This is what I have but it still opens in a maximized view. It is almost as if the statement is terminated after the file name is opened. This is an external js that I am calling from an asp page.
Sub openDocument(file)
Set oShell = CreateObject("Wscript.Shell")
oShell.Run Chr(34) & file...
I was still getting the error message. I just figured out my problem. When inserting the script within the page I needed to add the <% %> tags around the script and this seemed to make the script functional. When using the external.js there was no need for them. Would this make sense?
Nope, that didn't work. Maybe I misstated my question. I need to use this exact code(if possible). The only problem is when I place the Response.Write(""); and include the script inside these the error occurs.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.