Maksym Blank2016-03-12 22:20:38
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;">
<img src="./files/rate_up.png">

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