
Struggling to Pass Values from PHP to Javascript in Moodle? Here’s a solution
Lots of Moodle developers have been struggling to pass dynamic values to the JS page. Some developers tend to write inline JavaScript code in the PHP page itself, which is a bad practice and Moodle discourages the same. Some create…
Read More