| | |
php+javascript
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Oct 2006
Posts: 42
Reputation:
Solved Threads: 4
This isn't the right forum to past this in as it is a javascript question but i assume that you are trying to use confirm message box of ok or cancel. The confirm messaage box returns a true or false response. Below is a simple illistrated true or false method. If you have more question then please ask or I suggest googling javascript conformation boxes and you will find about a zillion tutorials on how to use them.
Urban
PHP Syntax (Toggle Plain Text)
confirmed = window.confirm("Click OK to continue. Click Cancel to stop."); if (confirmed) { window.alert("Yoy clicked OK"); } else { window.alert("You clicked Cancel"); }
![]() |
Similar Threads
- PHP and Javascript working together? (PHP)
- Accessing HTML checkboxes with php and javascript (PHP)
- I Need Help To Do an e-vite with php & javascript (PHP)
- php + Javascript (PHP)
- PHP with Javascript Parsing (PHP)
- help with php and javascript (PHP)
Other Threads in the PHP Forum
- Previous Thread: Store multiple selection from pagination info into single array
- Next Thread: PHP mysql drop down populates another drop down
| Thread Tools | Search this Thread |
apache api array beginner binary broken cache cakephp checkbox class cms code confirm cron curl customizableitems database date display dynamic echo email error external fcc file files folder form forms forum freelancing function functions google header headmethod howtowriteathesis href htaccess html iframe image include insert ip javascript joomla limit link login mail malfunction menu method mlm mod_rewrite multiple mysql neutrality oop pageing pagerank paypal pdf php phpmysql play problem query question radio random recursion remote root script search select server sessions sms soap source space sql support! syntax system table template tutorial update upload url validator variable video web youtube





