This code creates a nested input within a list element but the placeholder doesn't display:
var li = document.createElement('li');
this._new_input_tag = document.createElement('input');
li.className = 'tagger-new';
li.placeholder = "Write here";
I tried
document.getElementById('tagger-new').placeholder = "Write here";
but that removed the input entirely.
Thanks for your help!