Internet Explorer (since 5.0) supports nodeValue() method to fetch the value of a node like Firefox or Opera, albeit with an exception. Internet Explorer (dal 5.0) supporta nodeValue () metodo per recuperare il valore di un nodo come Firefox o Opera, anche se con una eccezione. IE will provide the nodeValue only if the node is of type TextNode . IE fornirà il nodeValue solo se il nodo è di tipo TextNode. So, for example, it will not give the nodeValue of a div . Così, ad esempio, non darà il nodeValue di un div. However Firefox and Opera works fine and provides the content. Tuttavia Firefox e Opera funziona bene e fornisce il contenuto. The solution is rather simple. La soluzione è piuttosto semplice.

You can use innerHTML instead of nodeValue . È possibile utilizzare innerHtml invece di nodeValue. It works on all the modern browsers. Funziona su tutti i browser moderni.
Do you know of any caveats? Sei a conoscenza di ogni limitazione?