call javascript function onchange event of dropdown list

后端 未结 5 636
隐瞒了意图╮
隐瞒了意图╮ 2021-02-01 19:38

I want to invoke javascript function when value in the dropdown list changes. I dont want to hardcode dropdown list id .

Hence not using document.getElem

5条回答
  •  长情又很酷
    2021-02-01 19:53

    You just try this, Its so easy

     
    

提交回复
热议问题