Can't "View Source" in Internet Explorer
Can't "View Source" in Internet Explorer
Author
Discussion

xsaravtr

Original Poster:

801 posts

285 months

Friday 4th October 2002
quotequote all
Hi,

When I click on the "View Source" option in IE, nothing happens... It should show the code for the page but doesn't.

I'm pulling my hair out as I'm developing a site and I can't tell if my radio buttons are getting the right values from the database...

Any ideas?

miniman

29,274 posts

285 months

Friday 4th October 2002
quotequote all
It is possible to use JavaScript within the web page to block the View Source command - many web developers do this to stop people from stealing cool code!

Any chance you might have put this in? If you are using Dreamweaver or suchlike there may be a simple checkbox to enable it...

Send me your URL and I will try it in my browser if you like...



>> Edited by miniman on Friday 4th October 23:29

Bonce

4,339 posts

302 months

Saturday 5th October 2002
quotequote all
Check that you have a program associated with html source: In IE go to Tools, Options, then the Programs tab. Set Notepad as your HTML Editor. Close all IE Windows, open it up again and then try.

shadowninja

79,311 posts

305 months

Saturday 5th October 2002
quotequote all
also if notepad is appearing in the task bar if you can't see it then its possibly cos you previously dragged it off screen accidentally, and its remembered that screen position. happened to me once. forget how to sort it out tho

xsaravtr

Original Poster:

801 posts

285 months

Saturday 5th October 2002
quotequote all
Thanks for the offer, but I've tried the page on another machine in the office and I can see the source code no problem...

It probably a configuration problem with IE...

quote:

It is possible to use JavaScript within the web page to block the View Source command - many web developers do this to stop people from stealing cool code!

Any chance you might have put this in? If you are using Dreamweaver or suchlike there may be a simple checkbox to enable it...

Send me your URL and I will try it in my browser if you like...



>> Edited by miniman on Friday 4th October 23:29

Bonce

4,339 posts

302 months

Saturday 5th October 2002
quotequote all
If you've checked your options as I mentioned earlier and that hasn't fixed it, then I know what the problem is. It's a bug in IE. And the cure, bizarrely is to clear your temporary internet files folder from the options dialog.

I've had this myself, and the above trick cured it.

xsaravtr

Original Poster:

801 posts

285 months

Saturday 5th October 2002
quotequote all
I'll check the options on Monday and if that doesn't work I'll try deleting the files...

thanks chaps!!

Gaffer

7,156 posts

300 months

Sunday 6th October 2002
quotequote all
That sometimes happens to me but when I refresh the page I can then view the source.