Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="ISO-8859-1" Message-ID: <3004724.SPkdTlGXAF@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Fri, 02 Dec 2011 00:12:19 +0100 User-Agent: KNode/4.4.11 Content-Transfer-Encoding: 7Bit Subject: Re: Getting Intermediate Results Reported Right Away Newsgroups: comp.lang.javascript References: <0hnfd7true3b4fgg7ou7q8v42oegqbuspf@4ax.com> <4ed7f2c4$0$29342$a8266bb1@newsreader.readnews.com> Followup-To: comp.lang.javascript MIME-Version: 1.0 Lines: 23 NNTP-Posting-Date: 02 Dec 2011 00:12:20 CET NNTP-Posting-Host: 36fea8b2.newsspool1.arcor-online.net X-Trace: DXC=:oRbbRHkmU7D]ncZ]`hZ;1ic==]BZ:af>4Fo<]lROoR1<`=YMgDjhg2X2bFj^_o8m1DZm8W4\YJN<;?f@h5gMfb<;aNQ:`iSIb3[gnhL6ASj\7 X-Complaints-To: usenet-abuse@arcor.de Xref: x330-a1.tempe.blueboxinc.net comp.lang.javascript:8756 Denis McMahon wrote: > When I'm trying stuff out in a browser environment, I might use alert > boxes for occasional outputs, or form elements for more non-interactive > output. > > Appending lines of output to a textarea can be useful eg: > > function printScreen(str) { > document.getElementById("id_of_textarea").value += str + "\n"; > } You would. *Any* fairly modern browser (even IE) has or can be augmented with an error console that you can print to in various ways, so *none* of those kluges are necessary anymore. PointedEars -- realism: HTML 4.01 Strict evangelism: XHTML 1.0 Strict madness: XHTML 1.1 as application/xhtml+xml -- Bjoern Hoehrmann