I load an external JS that create a form and i want to change the placeholder of one of the input. I try to write the function just after the div which contains the form and target the input by the name or the class. Maybe it's just the loaded script which prevent change of the placeholder ...
document.getElementsByClassName('squeezer-widget-input-code').placeholder = 'Enter your Code';
<script type="text/javascript" src="https://dl.squeezer.fr/widget"></script>
<div class="squeezer-widget"></div>