Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
24 views

AJAX Patch Request returns empty in Laravel Controller

I am trying to update a resource in Laravel sending a PATCH request to my controller. This is my AJAX call $.ajax('profile', { // Replace with your actual endpoint URL type: 'PATCH', ...
SBECK1's user avatar
  • 247
0 votes
1 answer
38 views

How to Display Item Quantity Based on Product Selection in Laravel 11?

How to display the quantity of items from the 'item_amount' column when a product name is selected from the 'item_name' selector in Laravel 11, based on the data in the database? Database id ...
Yuda AdyaJudha's user avatar
0 votes
0 answers
50 views

Menu and submenu with 2 modal in laravel

I have a problem with menu and submenu calling with 2 different modal. I would like when choose in the first menu see the elements of the submenu in another modal. The problem is that I loss the ...
Grazy's user avatar
  • 11
-1 votes
3 answers
55 views

How to prevent page to scroll on top when user add a comment on post?

i am trying to make website using Laravel 10 and i have added comment option for users so they can leave comment on any post but the problem is when use add comment on post the page scroll to top even ...
my apps's user avatar
-2 votes
0 answers
24 views

how to upload directory of file in Laravel 10 [duplicate]

I would like to know if it is possible to upload a directory containing files in the application laravel. This simply means that I choose the upload file option then I have the possibility of ...
Simon Thiombiano's user avatar
1 vote
1 answer
54 views

Import an Excel file using AJAX and Laravel

I'm trying to import an Excel file using AJAX and Laravel in my application. the form of excel import is an inner form (form inside another form) The error handling seems to be working partially, but ...
khaled amoudi's user avatar
0 votes
0 answers
49 views

Laravel jQuery AJAX call results in error status 403 SOMETIMES

I'm making a query to a web service using jQuery AJAX. In my local environment, it works well, but in production, env has that error. The function it does is simply to update an order. The error is ...
HERNANDEZ ORTEGA ERICK EDUARDO's user avatar
-1 votes
1 answer
71 views

Non-null assertions can only be used in TypeScript files.javascript

I've been working on this code base for the past month. And just yesterday, I started facing this problem on a few files. The code is supposed to change the div based on selected options. Here is the ...
rustybladez's user avatar
0 votes
0 answers
36 views

Trouble with url in AJAX [duplicate]

When i use route name for url it display this error: POST http://127.0.0.1:8000/admin/product/%7B%7B%20route('product.store')%20%7D%7D 404 (Not Found) Instead i have to use /admin/product/store -------...
nam156's user avatar
  • 3
0 votes
2 answers
41 views

Laravel AJAX error 419 (unknown status) (Even though has CSRF token)

POST http://127.0.0.1:8000/admin/upload/services 419 (unknown status) CSRF token mismatch Even though it has csrf token, it still has error 419 (unknown status) CSRF token mismatch .......................
nam156's user avatar
  • 3
-1 votes
1 answer
41 views

Selecting Data in laravel using ajax

I made a configurator of matador in which user inserts its width, height, length, color and other details etc. I want to do that when user enters its id in url so it fetches all the record which he or ...
Faraz Mohammed's user avatar
0 votes
0 answers
38 views

How do I fix XHR error when working withAJAX?

I am building a very simple Chat using Pusher and Laravel. Pusher is set and it works as it should. I am also trying to send a message to the broadcast route using AJAX and then show the message on my ...
user23646520's user avatar
0 votes
0 answers
55 views

How to find the device path for a USB cash drawer on Windows and open it with a button click in Laravel?

I am building a POS solution in Laravel and need to integrate a USB cash drawer. I am facing difficulties finding the device path for the USB cash drawer on Windows 10 and making it open with a button ...
dcodax's user avatar
  • 1
0 votes
0 answers
75 views

Using ajax and json to fetch data from database in laravel

I want to fetch data from database using json and display the result on a datatable in html using ajax. It was easy to perform the action in php but I'm not sure how its done in Laravel. This is how ...
Untamable Beast's user avatar
0 votes
1 answer
49 views

Ajax/Livewire not working in Laravel project hosted on XAMPP Apache but works with php artisan serve

I have a Laravel project that I previously developed using XAMPP Apache and MySQL, and everything worked perfectly. However, when I started implementing Ajax or Livewire components in my project, they ...
Marz On's user avatar

15 30 50 per page
1
2 3 4 5
371