How could I add attributes without values using d3.js?
For example, how could I construct such an option:
<option value="" disabled selected>Select something...</option>
In this example the disabled
and selected
attributes have no value. And value
attribute has a value of ""
.