Skip to main content

All Questions

Tagged with
0 votes
0 answers
31 views

Laravel javascript variable get in blade file

I need get js var in view blade file. I got this one in Controller and got success in console in route file Route::post('/some-route', [Controller::class, 'someMethod']); Route::post('/some-route', '...
dimvolk's user avatar
  • 368
-1 votes
0 answers
20 views

Notice: PHP Request Startup: file created in the system's temporary directory in Unknown on line 0 [duplicate]

I am using dropzone library to upload image in directory in Laravel 10 version. The dropzone JavaScript below and server side code is working fine. From server response they are giving me result in ...
Waqar Developer's user avatar
1 vote
0 answers
25 views

Laravel AJAX/JSON Redirecting Issue

newbie here... I'm trying to populate a form and table using json and ajax. The populating of the data seems working but I am being redirected to a black page with the data that I am trying to get. ...
Lemonnnnn's user avatar
0 votes
1 answer
50 views

JQuery and AJAX - Update div content using switch button

I work on a Laravel project and I tried to change the content of a div without refreshing the all page. In my controller I created two functions like that : public function index(){ $data = $this->...
Nll's user avatar
  • 860
0 votes
1 answer
96 views

Real-Time Notification System in Laravel for Receiving and Sending Messages

my problem in that notifications doesn't receive in reel time ,i can receive notifications when i reload my page ,but i want to receive notification without reload page . this is my controller ...
web developer's user avatar
-1 votes
1 answer
59 views

I cannot get PUT Ajax data in Laravel

I have a form like this: <form action="{{ route('admin.users.update', $user->id) }}" method="PUT" class="formajax_popup"> @csrf ...
DCYılmaz's user avatar
0 votes
1 answer
47 views

AJAX Patch Request returns empty in Laravel Controller [duplicate]

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
  • 257
0 votes
1 answer
56 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
60 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
64 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
1 vote
1 answer
73 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
50 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
252 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
38 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
65 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

15 30 50 per page
1
2 3 4 5
371