How do I call a Lua script from an HTML5 script/file/page
15:50 06 Jun 2011

I want to create web pages with dynamic content. I have an HTML page, and I want to call a lua script from it

  1. How do I invoke the lua script?

    and have any hope that xx will be 123 when the script exits?

  2. Replace the current web page with the content generated by the lua script.

html browser lua