aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes javascript equivalent of System.out.println() 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 "javascript equivalent of System.out.println()" Watch "javascript equivalent of System.out.println()" New topic
Author

javascript equivalent of System.out.println()

Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9053
    
  12
Is there something that can be used to print the value of variables without interfering with the running of the app like alert() does?


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
If you have Firefox, you can use the Firebug extension and for IE there is Firebug lite.

Links:
http://www.getfirebug.com/
http://www.getfirebug.com/lite.html

It allows you to do console.log("foo"); and see it in a new window. The full version also has the ability to step through the code.

Eric
[ June 27, 2007: Message edited by: Eric Pascarello ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javascript equivalent of System.out.println()