How to view javascript code run by web page

J

John Uebersax

Hello Group,

Please excuse a question from someone who knows virtually nothing
about javascript.

Is it possible to see the javascript code that excecutes on my machine
when I access a web page.
For example, this web page:

http://www.causascientia.org/math_stat/ProportionCI.html

contains an online statistical calculator. According to the webpage
author:

"Everything is coded in JavaScript which is downloaded and executed on
the client machine."

I assume "client machine" means my machine. The page html does not
include the source code. Is there some other way that I can view this
code?

Thanks in advance,

John Uebersax
 
N

Noway

John said:
I assume "client machine" means my machine. The page html does not
include the source code.

How about,

<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript" SRC="compPCI.js">
 
A

addy

Andrew Poulos wrote on 27 jan 2009 in comp.lang.javascript:




For just viewing put this in your adress-bar:

view-source:http://www.causascientia.org/math_stat/compPCI.js

using Chrome of FF, or ..., but NOT IE6+

I am no expert on JS as well but following may help

For IE tools like fiddler, IE Dev toolbar may help. You may wnat to
use Visual Studio Web developer Express edition to do script debugging
if you wish for IE. i.e. via Tools->attach process and then select
script debugging with it.

For FF FireBug is excellent one or Venkman

Hope these help

Cheers
Addy
 
E

Evertjan.

addy wrote on 27 jan 2009 in comp.lang.javascript:
Andrew Poulos wrote on 27 jan 2009 in comp.lang.javascript:
[..]

For just viewing put this in your adress-bar:

view-source:http://www.causascientia.org/math_stat/compPCI.js

using Chrome of FF, or ..., but NOT IE6+
I am no expert on JS as well but following may help

For IE tools like fiddler, IE Dev toolbar may help. You may wnat to
use Visual Studio Web developer Express edition to do script debugging
if you wish for IE. i.e. via Tools->attach process and then select
script debugging with it.

For FF FireBug is excellent one or Venkman

The OQ is in the subject line: "to View".
You do not need the above for that.
 

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

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top