Onclick -Aufruf -PHP -Funktion mit Parametern
<input type='button' name='Release' onclick="downloadFichier(param1, param2)" value='Click to Release'>
<script>
function downloadFichier(param1, param2){
$.ajax({
type: 'POST',
url: 'file_product.php',
data: "param1=" + param1 + "¶m2=" + param2,
success: function(data) {
$("p").text(data);
}
});
</script>
Undefined