Recent Posts

Caution: Greetings to all visitors. The site is working in short. Links Please skip the link to view any topic and thank you for visiting
header ads

Comma Error in JS Update

Hey Everyone,

I have a small piece of JS that updates a number inside of a div, it works great - until the number reaches 1,000 and a comma is added. Can anyone help with the code to fix this issue? I have tried quite a few option but everyone of them breaks the script.

<script>
function UpdatePoints(id,math) {
    jQuery.ajax({
        type: "POST",
        data: {number_id: id, math: math},
        url: "http://localhost/top10/parts/vote.php",
        cache: false,...
Code (JavaScript):
Comma Error in JS Update

from JavaScript https://ift.tt/2L4Cfp2
via IFTTT

Post a Comment

0 Comments