Dialogue box on form

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
benyboi
Forum Commoner
Posts: 80
Joined: Sat Feb 24, 2007 5:37 am

Dialogue box on form

Post by benyboi »

Sorry if this isn't PHP but I'm creating a .php page so here goes:

I am creating a blog and there is a button to delete any entry. And what i would like is for a Pop Up Dialogue Box to appear saying "confirm..." and if the user selects yes it will goto the delete page or if they choose no, nothing will happen. (Pop Up Dialogue Box being the ones you get on your PC when you delete an item)

Thanks
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

Moved to Client Side. Pop-up dialog boxed are usually done using Javascript, but can be done with only CSS or using Flash.
(#10850)
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

search the forum for "confirm" and you'll find many examples ;-)
Post Reply