title: What's the correct format for this case?
body: <pre><code>  &lt;select name="test" id="&lt;? echo $idtabel.'-'.$p.'-'. 1 .'; ?&gt;" 
     onChange="javascript:document.getElementById
     ('&lt;? echo $idtabel.'-'.$p.'-'. 1 .'b';?&gt;')
     .value=document.getElementById('&lt;? echo $idtabel.'-'.$p.'-'. 1 .'; ?&gt;')
     .value;"&gt;
  </code></pre>
  
  <p>What's the correct format for this case? I need input a php code into javascript</p>