Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get the selected options values in Laravel? #3110

Open
sxshateri opened this issue Nov 28, 2020 · 2 comments
Open

How to get the selected options values in Laravel? #3110

sxshateri opened this issue Nov 28, 2020 · 2 comments

Comments

@sxshateri
Copy link

How am I supposed to get the value of the selected options in laravel? it doesn't work the same as the normal multi-select.

@akawajid
Copy link

You can get selected options by following methods.

$("#select-id").val() or $("#select-id").chosen().val()

In Laravel you can access values via HTTP methods.

@blackdrago
Copy link

Are you asking how you can get values via PHP after the form is submitted?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants