Geeks With Blogs
Bunch's Blog One day I'll have a catchy subtitle, one day

This is not a new item at all but I came across it recently. For an app I had been using some JavaScript like:

javascript:window.open(someurl.aspx here)

to open a new window via a button. That bit of code had been working great in several other apps. Then in one app that same code decided to open the new window correctly while clearing the parent of everything but [object]. The fix ended up being simple, change the javascript to:

javascript:void(window.open(someurl.aspx here);

Then it worked like I thought it should.

Tags: ,

Posted on Friday, May 25, 2012 1:28 PM | Back to top


Comments on this post: New Window Via JavaScript Clears Parent

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Bunch | Powered by: GeeksWithBlogs.net | Join free