Jump to content

Archived

This topic is now archived and is closed to further replies.

glenelkins

Whats wrong with this?...

Recommended Posts

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]

Share this post


Link to post
Share on other sites
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!!

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.