Posting input from a form to a different page
The code that I’ve written for my index.js is below and it is getting the “entry-title” and “blog-entry” from the form in my write.ejs, assigning it to a variable, bTitle and bEntry respectively, and then rendering the information from the form to the index.ejs file.
Can’t read value of POST
I can’t get the values from a simple form. It has 2 files: APP.js
and FORM.ejs
. I am trying to receive the values from the form.
cant read value of POST (using nodejs,express,ejs)
I cant get the values from a simple form. Hope someone can help me.
It has 2 files: APP.js and FORM.ejs. I am trying to receive the values from the form.