How do I add an integer value with javascript (jquery) to a value that's returning a string? - Stack
Parse int is the tool you should use here, but like any tool it should be used correctly. When using parseInt you should always use the radix parameter to ensure the correct base is used var currentValue = parseInt($("#replies").text(),10);...