Here I have an < a ... onclick='show(); / a >
. I want to add my php code to to js function, I mean to get action after click.
include($_SERVER['DOCUMENT_ROOT'] . '/model/action.php');
?>
I'm going to put php code in this script
<script>
document.getElementById("show").onclick = function() {show()};
function show() {
document.getElementById("numb").style.display="block";
<<<HERE>>>
}
</script>