Javascript nodeValue Implementaion: IE Versus Firefox / Opera Javascript nodeValue aplicadas: IE Versus 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 (desde 5.0) apoia nodeValue () método para buscar o valor de um nó como o Firefox ou Opera, embora com uma excepção. IE will provide the nodeValue only if the node is of type TextNode . IE irá fornecer o nodeValue apenas se o nó é do tipo TextNode. So, for example, it will not give the nodeValue of a div . Assim, por exemplo, não vai dar o nodeValue de uma div. However Firefox and Opera works fine and provides the content. No entanto Firefox e Opera funciona bem e proporciona o conteúdo. The solution is rather simple. A solução é bastante simples.
You can use innerHTML instead of nodeValue . Você pode usar innerHTML vez de nodeValue. It works on all the modern browsers. Ele funciona em todos os navegadores modernos.
Do you know of any caveats? Tem conhecimento de quaisquer impedimentos?
Filed under Arquivado em Headline News Headline News , De How To How To , De Microsoft A Microsoft , De Tech Note Nota Tech , De Web , De Web Services Web Services , De Windows Janelas | |
| |
RSS 2.0 RSS 2,0 | |
Trackback this Article | este artigo |
Email this Article E-mail este artigo
You may also like to read Você pode também gosta de ler |




