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):
from JavaScript https://ift.tt/2L4Cfp2
via IFTTT
0 Comments