Monday 22 October 2018

Passing variables to node.js

Not sure how to phrase this, so I'll just write it out the best I can.I have an html page, with a label that has some items, say names of fruit. If I double click on Orange, for example, I can pass that to a javascript function, no problem.However since node is serverside, how would I do the same thing in order that I can access something from a database, or use the variable to Do something on the server?Or would it go HTML to Javascript to Node?

Submitted October 22, 2018 at 02:24PM by orksaredorks

No comments:

Post a Comment