How to take selected value from option field in html using node.js code? -


i working on node.js new me stucked here..how take selected value option field in html using node.js

here html code :

<select name="selectedvalue" class="form-control hidden">    <option>1</option>    <option>2</option>    <option>3</option>    <option>4</option>    <option>5</option>    <option selected="selected">6</option>    <option>7</option> </select>    

so how selected option value through node.js here node.js code:

var _numberofpass=req.body.selectedvalue; 

but got output undefined didn't success ed take selected option value html please tell me solution above problem.


Comments

Popular posts from this blog

Upgrade php version of xampp not success -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -