Number Format For Table

        $.fn.digits = function(){
            return this.each(function(){
                $(this).text( $(this).text().replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1,") );
            })
        }      
        $('.numbers').digits();

Tidak ada komentar:

Posting Komentar