title: Why getElementById returns null despite of print ID of element?
body: <p>I need to get element from site. I get id in of this element in console, but when I try to get this element (i need it to use in eventListener) I have null.</p>
  <pre><code>&lt;script type=&quot;text/javascript&quot;&gt;
  
  const selectedDate = sessionStorage.getItem('selectedDate');
  var currentDate = new Date();
  currentDate.setDate(currentDate.getDate());
  currentDate = currentDate.toISOString().slice(0,10);
  
  var ocr = cognos.Report.getReport(&quot;_THIS_&quot;);
  var datePrompt=ocr.prompt.getControlByName('launch_date_start');
  const controls = ocr.prompt.getControls();
  const inputId = controls[0]._id_;
  
  const inputEle = document.getElementById(`${inputId}`);
  
  
  console.log('ÍD', inputId) // here console print me particular ID
  console.log('Input ELE',inputEle) // here it shows null
  
  &lt;/script&gt;
  </code></pre>