Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 11:36 AM
ELF
Guest
 
Posts: n/a
Default OnAfterPrint cannot work

cannot using onAfterPrint in IE 6.0, the page can print but cannot close.
Why??
my code like as below

<body onAfterPrint="window.close();">
:
<script language="javascript" type="text/javascript">
<!--
window.print();
//-->
</script>
</body>


  #2  
Old July 19th, 2005, 11:36 AM
Ray at
Guest
 
Posts: n/a
Default Re: OnAfterPrint cannot work

Try asking in a client-side group such as m.p.scripting.jscript. This group
focuses on server-side programming.

--

Ray at home
Microsoft ASP MVP


"ELF" <ELF@EVIL.COM> wrote in message
news:uw3WirT6DHA.712@tk2msftngp13.phx.gbl...[color=blue]
> cannot using onAfterPrint in IE 6.0, the page can print but cannot close.
> Why??
> my code like as below
>
> <body onAfterPrint="window.close();">
> :
> <script language="javascript" type="text/javascript">
> <!--
> window.print();
> //-->
> </script>
> </body>
>
>[/color]


  #3  
Old July 19th, 2005, 11:36 AM
ELF
Guest
 
Posts: n/a
Default Re: OnAfterPrint cannot work

thx~~

"Ray at <%=sLocation%> [MVP]" <myFirstNameATlane34dotKOMM> wrote in message
news:esylvUU6DHA.3308@TK2MSFTNGP11.phx.gbl...[color=blue]
> Try asking in a client-side group such as m.p.scripting.jscript. This[/color]
group[color=blue]
> focuses on server-side programming.
>
> --
>
> Ray at home
> Microsoft ASP MVP
>
>
> "ELF" <ELF@EVIL.COM> wrote in message
> news:uw3WirT6DHA.712@tk2msftngp13.phx.gbl...[color=green]
> > cannot using onAfterPrint in IE 6.0, the page can print but cannot[/color][/color]
close.[color=blue][color=green]
> > Why??
> > my code like as below
> >
> > <body onAfterPrint="window.close();">
> > :
> > <script language="javascript" type="text/javascript">
> > <!--
> > window.print();
> > //-->
> > </script>
> > </body>
> >
> >[/color]
>
>[/color]


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles