Jump to content


Photo

Warning window pop up for Form button


  • Please log in to reply
4 replies to this topic

#1 essjay_d12

essjay_d12
  • Members
  • PipPipPip
  • Advanced Member
  • 121 posts

Posted 29 March 2006 - 11:59 AM

Is it possible to get a confirmation window / warning window to pop up to confirm actions when a form button is clicked?

Thanks

D

#2 shocker-z

shocker-z
  • Members
  • PipPipPip
  • Advanced Member
  • 864 posts
  • LocationNottingham

Posted 29 March 2006 - 12:14 PM

Your looking for javascript really or a less you want it to submit all the user data/actions to another page with a form which say's are you sure u want to delete blah blah blah.. then a yes button to resubmit data but to the correct page else click no and make the browser go back a page..

Regards
Liam
www: www.ukchat.ws | irc: irc.ukchat.ws chan: #blufudge

#3 essjay_d12

essjay_d12
  • Members
  • PipPipPip
  • Advanced Member
  • 121 posts

Posted 29 March 2006 - 12:45 PM

are there any links to a javascript function that will possibly do it?

ta

d

#4 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 29 March 2006 - 12:51 PM

[a href=\"http://google.com/search?q=javascript+alert\" target=\"_blank\"]google[/a] is your friend.

#5 nikhilthecool

nikhilthecool
  • Members
  • PipPip
  • Member
  • 18 posts

Posted 29 March 2006 - 12:52 PM

[a href=\"http://www.w3schools.com/htmldom/dom_obj_window.asp\" target=\"_blank\"]http://www.w3schools.com/htmldom/dom_obj_window.asp[/a]

there is a function called confirm()

do check out.

thanks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users