Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail From: Hans-Georg Michna Newsgroups: comp.lang.javascript Subject: Re: innerHTML Date: Wed, 11 Jan 2012 08:36:36 +0100 Organization: albasani.net Lines: 19 Message-ID: <2reqg7ppct0ar29bas0503ucd0mcr79q07@4ax.com> References: <36r7f719terpj6d2guc8v2hicvnmsgilvc@4ax.com> <4ef45360$0$7623$9b4e6d93@newsspool1.arcor-online.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net MoFMGA6m5xMb9EVsaT7H1ZNfbZ0hC5DxqEaFQt2xMzsuY13SAaer/27Uo4rm9NUHmV0nlpLHGGGg6A4+ZDXKnQjBk6P/hrFRkcF0SZ0Z122dtBMakBB427RGRPf6I16u NNTP-Posting-Date: Wed, 11 Jan 2012 07:36:37 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="ECEOvkwbK2kk2hJnhgxDo0cFgFuIaWhdFoWs3iQ8lFKHwSd96z+St7dNLS5qUkPUkXmZma2vRt93HzB6BYy2ZiNi9KH6Pzrnpe6x7aKL2xNwaSX/IrfV/SxgptQALQyP"; mail-complaints-to="abuse@albasani.net" X-Newsreader: Forte Agent 4.2/32.1117 Cancel-Lock: sha1:HJUUILb/PQj4e8pQMS7sxWbqkBU= Xref: x330-a1.tempe.blueboxinc.net comp.lang.javascript:10131 On Fri, 06 Jan 2012 14:35:51 +0530, Bwig Zomberi wrote: >Gregor Kofler wrote: >> innerHTML is widely supported, but no standard yet. Particularly with >> (older) IE browsers innerHTML has its fair share of issues. >textContent That is not supported by Internet Explorer, at least not up to version 8, maybe not even 9. So if you want to support these browsers, like every conscientious web programmer would do, you cannot use textContent or you have to fall back on a contraption around innerHTML for IE. The contraption depends on circumstances. See http://winhlp.com/node/610#toade for some hints. Hans-Georg