I have this for example, which is a file html:
<html>
My html
<script>
function Test() {
alert("yaaaah");
}
</script>
</html>
I want that nodeJS server execute the function Test() in a file which is at /path/here for example.
Use require doesn't work because the function is nested in the html.
How can I do to access to this function and execute it from server side?
via Erased
No comments:
Post a Comment