Jump to content


Photo

Whats wrong with this?...


  • Please log in to reply
2 replies to this topic

#1 glenelkins

glenelkins
  • Members
  • PipPipPip
  • Advanced Member
  • 760 posts
  • LocationBridlington - East Riding of Yorkshire - United Kingdom

Posted 07 August 2006 - 09:53 AM

any idea why this does not show the confirm dialog?

// 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>
		<?
	}

http://thewebsolutionprovider.com - A Solution For Everything Web!

#2 benjamin_boothe

benjamin_boothe
  • Members
  • PipPipPip
  • Advanced Member
  • 36 posts

Posted 07 August 2006 - 10:11 AM

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!!

#3 glenelkins

glenelkins
  • Members
  • PipPipPip
  • Advanced Member
  • 760 posts
  • LocationBridlington - East Riding of Yorkshire - United Kingdom

Posted 07 August 2006 - 10:16 AM

Thats the one! cheers
http://thewebsolutionprovider.com - A Solution For Everything Web!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users