Javascript nodeValue Implementaion: IE Versus Firefox / Opera Javascript nodeValue attuazione: IE contro Firefox / Opera
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?
Filed under Elencato sotto Headline News Headline News , How To Come , Microsoft , Tech Note Nota tech , Web , Web Services Servizi Web , Windows | |
| |
RSS 2.0 RSS 2,0 | |
Trackback this Article | questo articolo |
Email this Article Invia questo articolo
You may also like to read Si può anche leggere come |




































