I want to set a value from JavaScript is there any way to do it?

|
Bhupender Kumar 2022-08-25 12:53:27
faissaloux 2022-08-24 21:25:57
Make sure to pass the needed args

Sir which argument is missing kindly help

Asmaa 2022-08-25 12:53:55
Please someone help me
Boudouft_Kaoutar 2022-08-25 13:02:47
Asmaa 2022-08-25 12:52:31
I want to set a value from JavaScript is there any way to do it?

you can’t , you should pass by controller!!

Boudouft_Kaoutar 2022-08-25 13:04:37
or if the page reloaded send it as url attribut using window.location=’your url?id=’+id and recieve it using php and do the change
didaputraad 2022-08-25 13:05:41
Wkwk
Asmaa 2022-08-25 13:06:18
Boudouft_Kaoutar 2022-08-25 13:04:37
or if the page reloaded send it as url attribut using window.location=’your url?id=’+id and recieve it using php and do the change

What if I pass many collection from controller and I want to make them all in one collection from JavaScript and use it how I want

Boudouft_Kaoutar 2022-08-25 13:06:56
Asmaa 2022-08-25 13:06:18
What if I pass many collection from controller and I want to make them all in one collection from JavaScript and use it how I want

i didn’t get your idea

Boudouft_Kaoutar 2022-08-25 13:07:35
you can access to php values from js but you can’t change them
Asmaa 2022-08-25 13:07:51
Boudouft_Kaoutar 2022-08-25 13:06:56
i didn’t get your idea

laravel_discuss-135134.jpg

Asmaa 2022-08-25 13:08:17
I want them all in one collection from JavaScript
Asmaa 2022-08-25 13:08:30
Ok let me explain what I really want to do maybe you have a better way
Asmaa 2022-08-25 13:09:27
In my blade page and like u see from controller am using many collections each one what data have but they connected with each other by fk
Asmaa 2022-08-25 13:09:59
Now in my page I have many button and each what show some data from the second collection
Asmaa 2022-08-25 13:11:13
Is like you have a select of department and when u click on a department it show you in the page the data of employees of that department
Boudouft_Kaoutar 2022-08-25 13:12:08
Asmaa 2022-08-25 13:09:27
In my blade page and like u see from controller am using many collections each one what data have but they connected with each other by fk

actually laravel relationships make the process easier try to look it

Asmaa 2022-08-25 13:12:48
No you didn’t get me
Asmaa 2022-08-25 13:13:34
I know that and it’s easier if you will send the department Id from the controller but here we show everything in the page and select what department we wants
Boudouft_Kaoutar 2022-08-25 13:14:15
Asmaa 2022-08-25 13:13:34
I know that and it’s easier if you will send the department Id from the controller but here we show everything in the page and select what department we wants

like a filter?

Asmaa 2022-08-25 13:14:18
Dozi pv
faissaloux 2022-08-25 13:17:08
Bhupender Kumar 2022-08-25 12:53:27
Sir which argument is missing kindly help

Show me where you called the policy

faissaloux 2022-08-25 13:22:11
Asmaa 2022-08-25 12:52:31
I want to set a value from JavaScript is there any way to do it?

What you wanna do!!

Asmaa 2022-08-25 13:24:58
faissaloux 2022-08-25 13:22:11
What you wanna do!!

Fixed by @Boudouft_Kaoutar thank you to her 😁👍

Sambit22 2022-08-25 13:25:03
laravel_discuss-135148.jpg

Sambit22 2022-08-25 13:25:32
Composer require laravel/ui shows me the above error
Sambit22 2022-08-25 13:25:44
Please help
faissaloux 2022-08-25 13:26:17
Asmaa 2022-08-25 13:24:58
Fixed by @Boudouft_Kaoutar thank you to her 😁👍

Ow okay great 👌🏻

faissaloux 2022-08-25 13:30:08
Sambit22 2022-08-25 13:25:03

Which php version you using!!

Sambit22 2022-08-25 13:30:31
8.0
faissaloux 2022-08-25 13:32:55
Try to restart the server then run php artisan optimize then try again
Sambit22 2022-08-25 13:33:32
Okay. Let me try
Sambit22 2022-08-25 13:35:57
Thanks man it worked
admice 2022-08-25 13:43:10
Hello, guyz! Please, help me, – i’m trying to make Sendemail page https://orchid.software/en/docs/quickstart/ just like here, and get an error on mail send – Typed property SymfonyComponentMailerTransportAbstractTransport::$dispatcher must not be accessed before initialization

Quick Start for beginners | Orchid – Laravel Admin PanelOrchid – Laravel Admin Panel
The Quick Start Guide is a basic introduction to the Orchid infrastructure.
aminmaharram 2022-08-25 14:10:48
laravel_discuss-135162.jpg
Hi everyone!

Is this good idea for getting count of some?

This function in model.

BritnessDev 2022-08-25 14:11:25
Neophyte_01 2022-08-25 10:07:33
Thank you so much

Welcome.

nanribet 2022-08-25 14:30:45
Please i’m having this page error
404
Not Found

but the page exists

I have cleared my routes, even optimize:clear…
but still happening what can i do?

|