Solved  view source

Posted on 2008-10-28
Last Modified: 2012-06-27
I have a child window that I am developing, and I open the window with "Window.Open ....".

But after the window opens, I am not able to right click and get a menu option to "view source" of the window. I thought I could do it before.  I can view the source of the parent window, and if I select "view source" from the menu-bar, I get the source of the parent widow even though the child window is open and active.

Anyone know how to show "view source" ?
Question by:sidwelle
  • 2
LVL 18

Accepted Solution

Pawel Witkowski earned 250 total points
ID: 22826733
Instead of "view source" install firefox  and great web developing tool - firebug . There you will have no problems with any source anymore :)
LVL 13

Expert Comment

ID: 22827260
The following example works for me in Chrome, IE, and FF.
	<script language="JavaScript">
		function openWindow(url) {
			popupWin =, 'open_window', 'menubar, toolbar, location, status, scrollbars, resizable');
	<a href="javascript:openWindow('');">Open Google in a New Window</a>

Open in new window

LVL 13

Assisted Solution

numberkruncher earned 250 total points
ID: 22827265
Also I would like to agree with wilg32, FireBug is an amazing tool for debugging because it lets you view source, view and edit the DOM, step through JavaScript line by line whilst debugging.


Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Wordpress and Wufoo 1 36
window close link 7 32
Excel VLookup in a macro where returned column changes every month 7 11
Slush on text 2 8
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question