I have two html elements:
I\'m using d3 to add a listener in a s
Use the third argument:
function getSearchText(d, i, o) { const myValue = o[0].value; }