You should probably set these variables in a controller or view composer and pass them along to the...
You can use vanilla JS (in addition to server-side validation): <script type=text/javascript>...
The Laravel portal for problem solving, knowledge sharing and community building.
The community