嗨,我有一个复选框和一个按钮,单击按钮会打开一个弹出窗口不知道这里必须做什么是我的脚本
<?php
if($addflag == 0){
echo "<td>";
echo '<font color="red"><strong>Print On Letter Head</strong></font><input type="checkbox" id="dtype" name="dtype" value="1" checked></input>';
echo '<input class="cmdprint" type="button" id="submit" name="print" value="Print" onclick="window.open(\'quotprin.php?vouchno='.$getvouch.'&dtype=\'document.getElementById(\'status1\').value;\'\',\'popUpWindow\',\'height=800,width=950,left=100,top=100,resizable=yes,scrollbars=yes,toolbar=yes,menubar=no,location=no,directories=no, status=yes\');"></td>';
echo "<td>";
}
?>