Community discussion forum

Editing/Deleting META tags with javascript

  • 8 months ago
    Hi, I can find no reference to tell me that the HEAD of an HTML page is read only but I can only assume it is true as the following HTML simply doesn't work. All I am doing is try to set the content of a meta tag through js. Test refresh
    autorefresh is ON. switch
  • 8 months ago
    Just as a pre-emptive strike. I have also tried: var metatag = metatags[cnt]; metatag.parentnode.removeChild(metatag); It didn't work...

Post a reply

Enter your message below

Sign in or Join us (it's free).

Want to stay in touch with what's going on? Follow us on twitter!