Communication between objets

i guys thanks for your help, i have a component into a “main stage” and other in a “popup window”, how can i get the name (text input) and put into the “popup” ???

(this code is in the “popup code” layer)
$w . onReady ( function () {
$w ( “#input1” ). value = $w ( “#nombreTitulo” ). text ; // i want to extract the nombreTitulo.text and put it into the “input1”
console . log ( $w ( “#nombreTitulo” ). text ) // return undefined
});