How To call Lua function from Javascript
<p>I use "lua.vm.js" to develop with lua in web client side.</p>

<p>I want to know how can i call a Lua function from js script.</p>

<pre><code>var element = document.getElementById("myBtn")
  element.addEventListener("click", function(){ /*call here Lua function*/ });
</code></pre>