Add <option> to <select> inside a <script> :     <script type="text/html" id="tmpl-wp-travel-itinerary-items">
        <div class="panel-wrap panel-wrap-itinerary">
            <label><?php esc_html_e( 'Etape', 'wp-travel' ); ?></label>
            <select id="selectjs"></select>
         </div>
    </script>
getElementById() on *selectjs* is NULL. How can I target this ID within a script tag ?