Jump to content

Javascript Pop up box


JakeSilver

Recommended Posts

Third result from google.

 

http://www.tizag.com/javascriptT/javascriptconfirm.php

 

Javascript is client side and PHP is server side, you can't mix the two. You could use javascript to confirm whether a user wants to do something then if they do redirect to a PHP page that does whatever they wanted.

It is possible though isn't it because AJAX is the intergration of PHP into Java Script to make it active. Ive seen it done before on a few sites but i cant remember where it was.

 

ive given up anyway  :P im just going to redirect it to a new page... its alot easier

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.