Javascript syntax?
<p>I'm not even sure of how to name what I want. So let me explain it by giving an example.</p>

<p>While firefox uses textContent, other browsers supports the innerText property. By the way, please correct me if I use wrong terminology. Anyways, so far everything is ok. But I want something like the following: </p>

<pre><code>document.getElementById(id).iText = "blablabla" 
//or
var x = document.getElementById(id).iText;
//where iText is something like:

if(e.innerText) return innerText;
else return textContent;
</code></pre>

<p>I do not want to use a function for this stuff. Also, please tell me the name of this "thing", if exists, as I am not familiar with it.</p>
