window open not working
<p>I wanted to get my input text value to become part of the window open link.</p>

<p>Here's my code:</p>

<pre><code>window.open('./modul/mod_input.php?idpo='+
            document.getElementById('idpo').value+'',
            'Window1',
            'menubar=no,width=540,height=360,toolbar=no');
</code></pre>

<p>But it doesn't work. But when I try use this code it work</p>

<pre><code>window.open('./modul/mod_input.php?idpo=',
            'Window1',
            'menubar=no,width=540,height=360,toolbar=no');
</code></pre>

<p>So I think the problem was at <code>getElementById</code></p>

<p>Can anyone give me a solution for this?</p>
