aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes need System.out.println() in javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "need System.out.println() in javascript" Watch "need System.out.println() in javascript" New topic
Author

need System.out.println() in javascript

paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 20690
    ∞

I have a few hundred lines of javascript. As I run the script in a web page, I would like to see that certain parts of the app are executed. Plus I would like to see what the values are at that point.

I started off with alert(), but that moved the scope away from my stuff and so that didn't work.

Next, I tried to assign strings to "status" and "defaultStatus", those didn't work either. Perhaps I'm using them wrong?

Any suggestions on how I might be able to send myself clues on what is going on?


permaculture Wood Burning Stoves 2.0 - 4-DVD set
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Man, is this a homework assignment.
http://www.coderanch.com/t/120286/HTML-JavaScript/javascript-equivalent-System-out-println

Eric
paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 20690
    ∞

It works! Thanks Eric!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: need System.out.println() in javascript