I have created a javascript function which I would like to execute in Python using the 'Javascript' import. The javascript function currently takes data from a HTML form and posts it within SQL Server. For further background information please visit this website.
I have devised the following code already, but this doesn't as yet work as I intend. I would like to insert data into the Javascript function by calling the function within Python. The end result is to be executing and inserting data using Python with links to Javascript.
from javascript import require
data.executeQuery = require("test.js")
data.executeQuery(This is a test, another test, another another test)
Via Active questions tagged javascript - Stack Overflow https://ift.tt/ZfglBbw
Comments
Post a Comment