...

View Full Version : alert()



treeleaf20
04-08-2010, 02:04 AM
All,
I have the following code:


<script type="text/javascript">
alert("This picture has received more then 10 down votes so it is now being deleted. You will be redirected back to the pictures page!");
</script>
<?
echo "<meta http-equiv=\"refresh\" content=\"2;url=http://website.com/pictures.php\">";
?>

This is just in the code. I thought it would just execute this but it doesn't. I can't have it appear on a button event or an onload since this snipped gets executed with AJAX. How can I make it appear?

Thanks in advance!

treeleaf20
04-08-2010, 02:24 AM
The weird thing is if I just put it in a HTML page, the alert works fine. Not sure why it won't work how I have it set up now.

Dormilich
04-08-2010, 08:29 AM
sorry, but I don’t understand the problem, can you elaborate?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum