ahref onclick update input value on database php code example
Example: javascript button onclick
document.getElementById('button').onclick = function() {
alert("button was clicked");
};
document.getElementById('button').onclick = function() {
alert("button was clicked");
};