I've a jquery script that call the number2.php page, which is supposed to execute and show the result in a <div>. The problem is that is not working. Can you help me? Thanks.
<script>
    $(function() {
        $('#submit').click(function() {
            if ($('#taille').val() != 0) {
                var param = 'l=' + $('#taille').val();
            }
            else {
                var param = 'b=' + $('#datepicker').val() + 'c=' + $('#datepicker1').val() + 'num' + $('#num').val();
            }
            $('#retour').load('number2.php', param);
        );  
    });
</script>
 
     
    