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)
A mysterious JavaScript keyword
One day, I came across to know a strange keyword of JavaScript, which I believe… Read More… Continue reading A mysterious JavaScript keyword
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.
Some Libraries in JavaScript
Here I have come again with some of the interesting libraries. These are very useful… Read More… Continue reading Some Libraries in JavaScript
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
Utility Class to change local time in GMT and GMT time in Local
Again I have come up with another interesting JavaScript utility. I was assigned this task… Read More… Continue reading Utility Class to change local time in GMT and GMT time in Local
Interesting Javascript functions
I think JavaScript is fate for me. But during the course I also have come… Read More… Continue reading Interesting Javascript functions
How to make an image draggable (Google Map Type)
These days I am working more on JavaScript and have come across a lot of… Read More… Continue reading How to make an image draggable (Google Map Type)