Invoke <noscript> even with Javascript enabled? -


is possible invoke <noscript> element when javascript enabled? need toggle it's visibility demonstration purposes of like.

you can create new <div> element contents <noscript> , remove after demonstration:

// create var div = document.createelement("div"); div.innerhtml = document.getelementsbytagname("noscript")[0].innerhtml; document.body.appendchild(div);  // remove document.body.removechild(div); 

Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -