category      articles    
 
Adsense
Adwords
Article
Blog
CMS
CSS Style
Datacenter
Design Graphics
Flash Animation
Internet Radio
Messenger
Programming
Provider
Search Engine
Security
Security Web
SEF
SEO
Software
Software Web


Confirm box with 2 location

If you want to make confirm box that goes to 2 different location, you can use javascript to handle this one.
The sample is like below:

<script type="text/javascript">
<!-- Start
function Confirmtwo()
{
answer = confirm("Are you sure? If you press cancel you will go to alerts!")

if (answer ==1)
{
location = "destination.html"
}
if (answer==0)
{
location="cancel.htm";
}
}
End -->
</script>

OTHER ARTICLES

AccessFileName directive for Apache

AcceptMutex directive for Apache

PHP feof() Function

AllowOverride directive for Apache

Redirecting YourSite.com to www.YourSite.com

CGICommandArgs directive

AddModule directive for Apache

AcceptFilter for Apache

Passing value from child window to parent

AddDefaultCharset directive for Apache