window.parent.document.getElementById('cyr_etude_patrimoniale_open') code example
Example: javascript getelementbyid
const element = document.getElementById('id');
//or
const element = document.querySelector('#id');
const element = document.getElementById('id');
//or
const element = document.querySelector('#id');