This blog is a collection of technical stuff that i find everyday.
function isNumber(n) { return !isNaN(parseFloat(n)) && isFinite(n); }