Tag: JavaScript

How To Turn Off The Prompt For Active Content When Opening Local Files In Internet Explorer

I just ran into this little issue when testing a small JavaScript, where Internet Explorer came up with this annoying little pop-up on the bottom of the page every time I wanted to test a new change in the code:

Internet Explorer restricted this webpage from running scripts or ActiveX controls | Allow blocked content

Unless I clicked “Allow blocked content” every single time, JavaScript was simply disabled.

That’s just no good… Continue reading

Add and Remove Elements with JavaScript / ECMAScript

Not long ago, Dustin Diaz posted an updated version of his short and to the point guide on creating and removing HTML / XHTML elements dynamically using JavaScript / ECMAScript. His original guide from 2005 was very popular, but perhaps getting a little outdated …

So, if you’re like me and you’re into this Web 2.0 stuff, it could certainly become a handy quick reference for the future.

I recommend you check out his guide “Add and Remove Elements with JavaScript (reprise)”.