I want guidance to find a solution to my problem in the development of my application. I want to reuse the content of the input tag that is present my form created in another code of Node.js
For Example: If I enter the keyword nodejs in the input tag of my form "index.html".
I want to reuse this keyword nodejs in the following line
app.search('Query', 5, function(error, result)
and instead of the word Query I want this line to receive the new keyword nodejs and on every time I enter a new keyword in the form it will be taken into consideration in my nodejs file "search.js".
I do not know how to bind an HTML
form and a nodejs
code
Thank you so much in advance