PHP how to redirect ondblclick="" of button?

sandy360

New member
this button opens my print.php on one click but I want it to open ondblclick and still carry all those values...
so when user clicks it once print() window of the browser will automatically appear

echo "<span class=logout>";
echo "<form method=post action=print.php?tcl=$tcl&tcldate=$tcldate&office=$office&voy=$voy target=_blank>";
?>
<input type="submit" name="print" value="PRINT" id="print" ondblclick="" />
<?php
echo "</form></span>";
 
Back
Top