I\'ve managed to make simple voting system with single current score. Everything is fine but the problem is that when I click on a button to vote for this particular
You can't use $(this) inside success function as it will changes with context in which $(this) is called, you have to store the it in a var and then use it like below in your ajax success: