View Full Version : not only top but also body seen

09-22-2006, 04:12 PM

<script type="text/javascript">
var msg = "Are you sure?";
if (confirm(msg)) window.location.replace('http://yahoo.com');
else window.history.back();

bodyThe code above pop-ups an alert when it is loading.

When the alert pops, the user can see the text "top", but can't see the text body.

I like to make it the text body seen to the user.

Can I do it with your help?

09-22-2006, 04:18 PM
The page is rendered top to bottom, so put it at the end of the page or call it on window.onload.


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum