node.js executing server side function from client side
问题 I have the server.js file on server side and the index.html on client side. I need to call a function from the server side through maybe a button or something on the index.html and get a feedbak on the index.html that the function was executed. In the future I would also like to pass over a variable to the server side from client side. I'm rather new to node.js. Hopefully someone can help me on this. 回答1: Node.js is no different than any other server side technology: it's not client side. If