PC Review


Reply
Thread Tools Rate Thread

cannot view complete html source of webpage using browser

 
 
learnyourabc
Guest
Posts: n/a
 
      26th Apr 2007
I am not able to view the complete html for the following web page
using view page source in firefox or IE(and I am not refering to html
that are inside the frames )
look at http://joongangdaily.joins.com/artic...sp?aid=2874571
or any page in that website
Using view page source, (does not display the html text of the main
content, should have some text in the article)

<script type="text/JavaScript">var PAGE_TYPE="LEFTMENU";</script>
<script type="text/JavaScript" src="http://joongangdaily.joins.com/
_ui/
script/top.js"></script>


<!--------------------------// s : main
contents //-------------------------->
<div id='divArticle'></div>


<!--ºí·Î±× Àü¼Û¿ë Æû-->
<form name="frmSaveBlog" method="post" action="http://
blog.joins.com/
center/joins/outbound_scrap_pre.asp">
<input type="hidden" name="baseurl" value="http://
joongangdaily.joins.com">
<input type="hidden" name="user_id" value="">

<input type="hidden" name="source" value="">
<input type="hidden" name="board" value="jd_news_scrap">
<input type="hidden" name="board_idx" value="">
<textarea name="subject" style="display:none"></textarea>
<textarea name="content" style="display:none"></textarea>
</form>

After saving the page using browser firefox and use view source again
on the saved page ,
(html text of the main article is displayed on the saved page )

Can anyone enlighten me as to what is going on here?Thks

 
Reply With Quote
 
 
 
 
SingaporeWebDesign
Guest
Posts: n/a
 
      26th Apr 2007
Hello,

That is because the content is written using JavaScript.

You can view the source by installing
http://www.microsoft.com/windows/ie/...devaccess.mspx

After installation, Ctrl+A (Select All) the page, right-click and click
'Partial Source'.

--
Singapore Website Design
http://www.bootstrike.com/Webdesign/
Singapore Web Hosting
http://www.bootstrike.com/WinXP/faq.html
Windows XP FAQ

"learnyourabc" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
I am not able to view the complete html for the following web page
using view page source in firefox or IE(and I am not refering to html
that are inside the frames )
look at http://joongangdaily.joins.com/artic...sp?aid=2874571
or any page in that website
Using view page source, (does not display the html text of the main
content, should have some text in the article)

<script type="text/JavaScript">var PAGE_TYPE="LEFTMENU";</script>
<script type="text/JavaScript" src="http://joongangdaily.joins.com/
_ui/
script/top.js"></script>


<!--------------------------// s : main
contents //-------------------------->
<div id='divArticle'></div>


<!--ºí·Î±× Àü¼Û¿ë Æû-->
<form name="frmSaveBlog" method="post" action="http://
blog.joins.com/
center/joins/outbound_scrap_pre.asp">
<input type="hidden" name="baseurl" value="http://
joongangdaily.joins.com">
<input type="hidden" name="user_id" value="">

<input type="hidden" name="source" value="">
<input type="hidden" name="board" value="jd_news_scrap">
<input type="hidden" name="board_idx" value="">
<textarea name="subject" style="display:none"></textarea>
<textarea name="content" style="display:none"></textarea>
</form>

After saving the page using browser firefox and use view source again
on the saved page ,
(html text of the main article is displayed on the saved page )

Can anyone enlighten me as to what is going on here?Thks


 
Reply With Quote
 
Poprivet
Guest
Posts: n/a
 
      26th Apr 2007
learnyourabc wrote:
> I am not able to view the complete html for the following web page
> using view page source in firefox or IE(and I am not refering to html
> that are inside the frames )
> look at http://joongangdaily.joins.com/artic...sp?aid=2874571
> or any page in that website
> Using view page source, (does not display the html text of the main
> content, should have some text in the article)
>
> <script type="text/JavaScript">var PAGE_TYPE="LEFTMENU";</script>
> <script type="text/JavaScript" src="http://joongangdaily.joins.com/
> _ui/
> script/top.js"></script>
>
>
> <!--------------------------// s : main
> contents //-------------------------->
> <div id='divArticle'></div>
>
>
> <!--ºí·Î±× Àü¼Û¿ë Æû-->
> <form name="frmSaveBlog" method="post" action="http://
> blog.joins.com/
> center/joins/outbound_scrap_pre.asp">
> <input type="hidden" name="baseurl" value="http://
> joongangdaily.joins.com">
> <input type="hidden" name="user_id" value="">
>
> <input type="hidden" name="source" value="">
> <input type="hidden" name="board" value="jd_news_scrap">
> <input type="hidden" name="board_idx" value="">
> <textarea name="subject" style="display:none"></textarea>
> <textarea name="content" style="display:none"></textarea>
> </form>
>
> After saving the page using browser firefox and use view source again
> on the saved page ,
> (html text of the main article is displayed on the saved page )
>
> Can anyone enlighten me as to what is going on here?Thks


It's because the "text" and other parts of the displayed page aren't in that
precise page but are called from other places, using javascript, to complete
the whole display. What you see is just a container for the other parts to
be loaded into. Not unusual; sometimes a pain for folks who won't/don't
use js, but it works well.

HTH
Pop`


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I turn off Web page view and see HTML source view in Word 2 Daxtrek Microsoft Word Document Management 1 15th Feb 2009 08:56 PM
How to get source of Active IE Browser webpage. - VB or VB.net itshibu General Discussion 1 19th Jul 2008 04:05 PM
Can't open source to view source code of webpage in one of my acco =?Utf-8?B?TXIgSmFja3BvdGJveA==?= Windows XP General 1 26th Nov 2005 04:46 PM
partial webpage view source Ken Windows XP Internet Explorer 1 12th Dec 2003 10:26 PM
Can't see a webpage when i open my .html text file in the browser napa Windows XP Internet Explorer 0 9th Oct 2003 04:02 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:26 PM.