D3.js: get value of selected option?

前端 未结 4 1024
刺人心
刺人心 2020-12-09 16:41

I want to get the value of the selected option from a dropdown list, in D3.js.

Note that d3.node() is documented at https://github.com/mbostock/d3/wiki/Selections#node and the .value property of an HTMLInputElement is documented on MDN at https://developer.mozilla.org/en/docs/Web/API/HTMLInputElement.

提交回复
热议问题