helloanddie Posted July 31, 2008 Share Posted July 31, 2008 hi there, i have written php codes to delete users already, i need help in prompting user for confirmation when deleting users using javascript. is there any one of you who knows of any method? many thanks in advance Quote Link to comment Share on other sites More sharing options...
RichardRotterdam Posted July 31, 2008 Share Posted July 31, 2008 all you need to do is use the javascript confirm function here is an example <a href="http://www.phpfreaks.com" onclick ="return confirm('do you want to go to phpfreaks?')">php freaks</a> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.