I'm having the same problem as this thread how to assign javascript variable value to php variable however I'm using twig.
I need to catch a value from JS and pass it to a PHP variable.
What have I tried without success:
I'm having the same problem as this thread how to assign javascript variable value to php variable however I'm using twig.
I need to catch a value from JS and pass it to a PHP variable.
What have I tried without success: