↧
Javascript: zero padding numbers
There are many ways to accomplish this in js but the following is the one I found to be the best: Let’s say you need to pad a number with leading zeros so the total digits of the number will be 5,...
View ArticlejQuery 1.4.2 upgrade issue when doing json ajax calls
The format requirement for ‘json’ dataType has changed slightly in the new jQuery 1.4.2: Double quotation marks are now a must (for both keys and values) to make ajax calls when specifying dataType:...
View Article