Link to home
Start Free TrialLog in
Avatar of Richard Korts
Richard KortsFlag for United States of America

asked on

See HTML Source in Chrome

I realize I'm living in the dark ages, but how do I show source in Chrome?

I'm using the debug console

This is very useful, because my programs are almost all in php, I need to see the html, javascript so I can get the line numbers
ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
One thing to remember is when you do "View Page Source" it is going to show you what the page is when it is first loaded, not after any ajax requests that have made any changes are executed.  If you are trying to see that stuff it is still go to use the inspector and look at the "Elements" tab.
Avatar of Richard Korts

ASKER

Jeffery, I understand that.
Thanks, I knew it would be obvious, that is easier than Firefox.

I've just about said to hell with Firefox.

Richard
Avatar of Bill Prew
Bill Prew

Welcome, glad that helped.  Yes, I moved from a faithful FF user to the "dark side" and have become a 90% Chrome user now.  It's hard to argue with the data, and I still have some extensions that I never found a Chrome "as good as" substitute for, but the world seems to have adopted Chrome, so when developing web apps it's a primary focus, and I expect it's the browser that most sites render in.  But I still don't trust Google...



»bp
Just so you know to, which I have never liked in Chrome is when you do "View Page Source" it does a new request to the same url and gives you that page source.  Firefox gives you the source of the page that you are currently viewing.  Might not matter to you, but just something to know.
I'm considering, strongly, Chrome for these reasons.

(1) The debugging capabilities that show you the exact line of the rendered source.

(2) Last time I looked, it's now the leading browser; I think wwwschools track this, might be somewhere else.

(3) Most of my customers use it.

I am personally afraid of Google, as I am of Amazon and to some extent Apple.

Those 3 are DOMINANT forces, much as Microsoft once was (and still is to some extent), I can see the possibility of either Amazon or Google of effectively taking over the world. I think it's scary, they have such HUGE clout.

Thanks
I would say your third reason should influence you the most.  In all honestly if you are building web apps you should try to use all the major browsers to check if they work well.
Yeah, I know. But like right now I've been working since 4:30 AM on 4 issues my customer is having, so far I have solved NONE.