Document.readyState

switch (document.readystate){ case "loading": break; case "interactive": var span = document.createelement("span"); span.textcontent = "a span element."; document.body.appendchild(span); break; case "complete": console.log("the first css rule is:" + document.stylesheets[0].cssrules[0].csstext) break; }
La propiedad Document.readyState de un document describe el estado de carga del documento.
var string = document.readyState;

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.