OnClick Llame a la función PHP con parámetros

<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 + "&param2=" + param2,
            success: function(data) {
                $("p").text(data);
            }
        });
</script>
Undefined