InnerText changed to Textcontent.
IE, Safari, opera, and chrome support the InnerText property. Although Firefox does not support innertext, it supports similar textcontent properties. Textcontent is a property of the DOM3 level and is supported by Safari, opera, and Chrome. To ensure cross-browser compatibility, it is necessary to use the following function to detect which property can be used
var div = document.getElementById ("content"), function Getinnertext (element) { return (typeof element.textcontent = = "string")? Element.textContent:element.innerText;} function Setinnertext (element, text) { if (typeof element.textcontent = = "string") { element.textcontent = text; } else { element.innertext = text; }} Setinnertext (Div, "Hello world!"); Alert (Getinnertext (div)); "Hello world!"
ipod, Write timer countdown screen countdown not changed