In my previous post I have shown how to create an express app with node.js and in this post, I would like to introduce bower a package manager for front-end development. Bower is a package manager just like Nuget, where it gets confusing is that node already has a package manager called npm. The difference […]

I recently had to do work on localeCompare in JavaScript and though I would write a plugin in JQuery and share it. Javascript Locale Compare JavaScript provides a localeCompare function for comparing two strings in the current locale. The locale is based on the language settings of the browser. To explain locale compare lets look […]

Was coding some new functionality and though I would post this, so that others can find it helpful. Lets say you have a form that has a checkbox that will update the select dropdown box with different values, when the checkbox is clicked. Something like the UI below. Your html code might look like
[…]

So here is an interesting jquery plugin called jqprint it allows one to specify any element and sent it to print. Assuming you have an element with id printButton and a content area called divToPrint
This will pop up the print functionality in your browser and send it with the default media=”print” css or […]