Create

Use Elem-mint to create DOM objects on the fly -- strings most certainly attached. XD.

$ E ( " div#first[name=thefirst] " ); // <div id="first" name="thefirst"></div>

yes, it's that easy

so why not try it?

Ultra lightweight

Simple

Reusable

Want to use an online host?

Add

https://cdn.rawgit.com/spritefullake/elem-mint/master/src/index.min.js

as the source of your script tag.