glenelkins Posted August 7, 2006 Share Posted August 7, 2006 any idea why this does not show the confirm dialog?[code]// Check if the user has finished creating their profile if ($finished == 0) { ?> <script language="javascript"> if (confirm ('Have You Finished Creating Your Wedding Page?')) { alert ("Ok"); } else { alert ("Bummer") </script> <? }[/code] Link to comment https://forums.phpfreaks.com/topic/16775-whats-wrong-with-this/ Share on other sites More sharing options...
benjamin_boothe Posted August 7, 2006 Share Posted August 7, 2006 It looks like you are missing a closed bracket after alert ("bummer"). Because you have an open bracket at the start of your else statement.I might be wrong!! Link to comment https://forums.phpfreaks.com/topic/16775-whats-wrong-with-this/#findComment-70562 Share on other sites More sharing options...
glenelkins Posted August 7, 2006 Author Share Posted August 7, 2006 Thats the one! cheers Link to comment https://forums.phpfreaks.com/topic/16775-whats-wrong-with-this/#findComment-70564 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.