Get dropdown value using Express in node.js from html page

前端 未结 3 1412
花落未央
花落未央 2021-01-31 12:08

I am developing a quick node.js app using express and I am a newbie to NODE. For pages I am just using plain html.

Basically I have a form as follows:

 &         


        
3条回答
  •  北荒
    北荒 (楼主)
    2021-01-31 13:02

    You can use a change function inside the select tag.

    
    

    then in your typescript file,

      changeValue(value) {
         console.log(value);
      }
    

提交回复
热议问题