M
M
Maksym Blank2016-03-12 22:20:38
MySQL
Maksym Blank, 2016-03-12 22:20:38

AJAX Change value on onclick + MYSQL?

Good day.

Need help with rating script

<span>57</span> // рейтинг
<a style="cursor:pointer;">
<span>
<img src="./files/rate_up.png">
</span>
</a>

How to make 57 become 58 when clicking on img, and img(rate_up.png) becomes img(done.png), while 58 is entered into MYSQL as a new value?
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question