la valeur de la variable n’est pas ajoutée dans l’élément h2
DEMO Hi, I have variable called “var node = “Hi Mr”, Iam trying to append this value on click of a button, im not sure why its not appending. I sortinged using html and text, none worked. JS: $(function(){ $(‘.customerResultIndex’).on(‘click’,function(){ openCustomerOverlay(); }) }); function openCustomerOverlay(){ var node = “Hi Mr” $(‘.customerPopHeading’).text(node) var overlayContainer = ”+ […]