<form>
<input type="button" value="Print Report"
onClick="window.open('employee_print_entry.php?period_id=<?php
echo
$period_id ?>&user_id=<?php echo $timeapp_id
?>','mywindow','width=800,height=600')">
</form>
--
Ken Ford
Adobe Community Expert Dreamweaver/ColdFusion
Fordwebs, LLC
http://www.fordwebs.com
"bcounts" <webforumsuser@macromedia.com> wrote in
message
news:g89lns$el4$1@forums.macromedia.com...
>I am trying to have a button in the timesheet application
I am building
>open my
> edit.php file in a new or blank window onClick. However
I have tryed all
> of the
> usual snippets such as target= ect. but nothing seems to
be working
> properly.
> Can someone please advise on how to make this happen.
>
> The code that I currently have an need to alter is as
follows:
>
> Thanks In Advance!
>
> <button class="button"
>
onClick="window.location='employee_print_entry.php?period_id=<?=$period_id?>&use
> r_id=<?=$timeapp_id?>'"><b>Print
Report</b></button>
>