Ich erhalte diesen Fehler in der Konsole:
Nicht gefangener TypeError: $ .post ist keine Funktion
für diesen Code:
<script type="text/javascript">
$('#cl_submit').click(function() { //#cl_submit is a button
$('#cl_stage1msg').html('Processing...');
$.post("process/cookie.php", $("#cl").serialize(), function(response) { //#cl is a form
$('#cl_stage1msg').html(response);
});
return false;
});
</script> <!-- popup included -->
Ich konnte einfach nichts falsches daran finden. Warum funktioniert das nicht, irgendwelche Hinweise?
Funktioniert jedoch $('#cl_stage1msg').html('Processing...');gut.
Es scheint, als würde nur die Post-Funktion nicht erkannt.
Ich verwende https://code.jquery.com/jquery-3.1.0.slim.min.js