Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

View Source - Not Accurate



2:48 pm on Jun 5, 2006 (gmt 0)

10+ Year Member


Whilst working on debugging some javascript using Firefox (v1.5) I noticed that the 'View Source' is presenting incomplete source.

My senario:

I have php generating options for a select box, in IE it works fine and the options appear as expected. In FF no options appear, and stranger still, when I view source in FF, nothing is there for the options either.

Anyone else ever seen this strange behaviour? and any solution to force FF to show the true source?


6:39 pm on Jun 5, 2006 (gmt 0)

10+ Year Member

IIRC, View Source shows you the page after it's been run through the parser. That tends to mean that invalid HTML can get munged.

Try running the page through the W3C validator.


8:11 am on Jun 6, 2006 (gmt 0)

10+ Year Member

The problem was that IE was caching my code, and showing source from and previous version of my script. FF was correct, the problem with was with the IE cache. I thought I was going nuts there!

Featured Threads

Hot Threads This Week

Hot Threads This Month