jQuery to pure Javascript examples – 4

Add onclick event // jQuery $(“#myElm”).click(function(){ alert(“Hello world”); }); // Pure javascript document.getElementById(“myElm”).addEventListener(“click”, function() { alert(“Hello world!”); }, false); Get child node by index //jQuery var child = $(“#myElm”).eq(2); // Pure javascript var child =…

Serving HTTP images in a HTTPS site

If you’re looking for a solution to load images over HTTPS then the free cache & proxy service at cdn.dotmaui.com/ip/ is exactly what you are looking for. Silmply to use,  .Maui Proxy will cache the…

HTML Minify v 1.3.2 released!

We added three new options to the web tool and API: – Remove quotes around attributes when possible – Strip HTML comments – Remove all attributes with whitespace-only values Try it now! dotmaui.com/htmlminify api.dotmaui.com/htmlmin