Quick (and probably easy) Question

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
snowrhythm
Forum Commoner
Posts: 75
Joined: Thu May 04, 2006 1:14 pm
Location: North Bay Area, CA

Quick (and probably easy) Question

Post by snowrhythm »

does anyone know how to do simple pop-up confirmations? i need to use one to
confirm a "delete row" for a database entry app i made in php. figured it might
save a little stress in the future (chuckle). if you could post some generic code
that would be awesome. i'll be looking around for some in the meantime. thanks!
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:2. Use descriptive subjects when you start a new thread. Vague titles such as "Help!", "Why?" are misleading and keep you from receiving an answer to your question.
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

Moved to client side.

Code: Select all

if(prompt("are you sure"))
  //do stuff
Post Reply