homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Browsers / Firefox Browser Usage and Support
Forum Library, Charter, Moderators: incrediBILL

Firefox Browser Usage and Support Forum

View Source - Not Accurate

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


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)

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)

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!

Global Options:
 top home search open messages active posts  

Home / Forums Index / Browsers / Firefox Browser Usage and Support
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved