surabaya web designer
cheap web promotion indonesia
design graphics and online shopping cart
     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

htaccess at Windows

Passing value from child window to parent

AuthUserFile directive

PHP feof() Function

AccessFileName directive for Apache

Redirecting YourSite.com to www.YourSite.com

ClearModuleList directive

Prevent htaccess From Hack 2

AcceptFilter for Apache

AuthUserFile directive