<div>Hi, all</div>
<div>I&#39;m trying to use this feature,&nbsp;like was discussed before between Igor and Oliver.</div>
<div>I did everything in the steps, but it&#39;s not working.</div>
<div>In the function pickName, window.opener is null.</div>
<div>I&#39;m calling the popup like this:</div>
<div>&nbsp;</div>
<div>function attachFilePopup(){<br>&nbsp;&nbsp;&nbsp; var aFile = window.open(&quot;upload.php&quot;,&quot;atachFile&quot;,&quot;Image File Upload&quot;);<br>&nbsp;<br>}</div>
<div>&nbsp;</div>
<div>-------------------------------</div>
<div>&nbsp;</div>
<div>my pickName is like this:</div>
<div>&nbsp;</div>
<div>
<p>function pickName()<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (window.opener &amp;&amp; !window.opener.closed)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; window.opener.document.carto_form[&#39;edit_feature_1193250090093251[pathfoto]&#39;].value = document.aForm.filename.value
;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; window.close();<br>&nbsp;&nbsp;&nbsp; }</p>
<p>&nbsp;</p>
<p>Thanx</p>
<p>&nbsp;</p>
<p>Vítor Campos</p></div>