Cool function to convert integer value into money value (Adds comma after 3 digits from right)

This function adds comma to make it look like money value. function addComma(val) { var… Read More… Continue reading Cool function to convert integer value into money value (Adds comma after 3 digits from right)



Code for adding JS Files at runtime and then executing Functions from currently loaded file.

/*——-This works for IE and non IE as well—————-*/ var oScript = document.createElement(“script”); oScript.src =… Read More… Continue reading Code for adding JS Files at runtime and then executing Functions from currently loaded file.



Utility function to get current X and Y position on mouse/cursor (Cross Browser Support

This class is again a cross browser supported and is an interesting utility function: function… Read More… Continue reading Utility function to get current X and Y position on mouse/cursor (Cross Browser Support