If I want to add an ascii symbol form js to a node somewhere? Tried as a TextNode, but it didn\'t parse it as a code:
TextNode
var dropdownTriggerText =
You can't create nodes with HTML entities. Your alternatives would be to use unicode values
var dropdownTriggerText = document.createTextNode('blabla \u0026');
or set innerHTML of the element. You can of course directly input &...
innerHTML
&