cannot view complete html source of webpage using browser

L

learnyourabc

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/article/view.asp?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
 
S

SingaporeWebDesign

Hello,

That is because the content is written using JavaScript.

You can view the source by installing
http://www.microsoft.com/windows/ie/ie6/previous/webaccess/webdevaccess.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

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/article/view.asp?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
 
P

Poprivet

learnyourabc said:
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/article/view.asp?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`
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top