(Jun-13-2017, 10:44 AM)imonike Wrote: I don't know what to do to get it to load (and for the other code between the second set of script tags to work) or if it's even possible to run javascript in such a manner.Use code tag BBcode help
Any pointers to the resolution of this problem would be greatly appreciated.
It's pretty hopeless to use cgi/wsgi to do stuff like this at a low level.
Use Flask it's build on top of WSGI,
and has all tool to deal with modern web development as eg integrate JavaScript.