skip to Main Content

Jquery ajax – AJAX Post twice in Laravel framework

i was searching in stackoverflow with the same title, but i got no luck.. this is my ajax script $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('input[name="_token"]').val() } }); $('#btn-submit').on('click', function(e) { e.preventDefault(); var nama_kelompok_jalan = $('input[name="nama"]').val(); var action = $('#csrf-token').attr('action'); $.ajax({ type:'POST',…

VIEW QUESTION

Jquery ajax – Input text with autocomplete – Uncaught TypeError: $.ajax is not a function in PHP, MySQL and jQuery

I'm trying to do a autocomplete text input in jQuery with user information from database in PHP and MySQL. I'm getting the following error: Uncaught TypeError: $.ajax is not a function at HTMLInputElement.<anonymous> (file.php:332) at HTMLInputElement.dispatch (jquery-3.3.1.slim.min.js:2) at HTMLInputElement.v.handle (jquery-3.3.1.slim.min.js:2)…

VIEW QUESTION
Back To Top
Search