Javascript variable convert to php variable in laravel blade file

QuestionsJavascript variable convert to php variable in laravel blade file
Jehal Desai Staff asked 4 years ago

I have modal blade page , which loaded by controller which called via ajax.I have a hidden input field.I get the value from input field via javascript dom. I stored in a js variable.The variable works good. I want this value in php variable on same page, for some checking purpose.
Here my code is ….

Note : It's a modal (invoiceModal.blade.php)


View on Stack Overflow