Pass php variable to javascript function onclick laravel July 8, 2019 16 32 64 128 How to pass data from javascript to php Php to javascript