Jump to content

JavaScript W3 tutorial bug


Guest Novice
 Share

Recommended Posts

Hey,I noticed there is a bug in one of the W3 Javascript tutorial for Confirm box on http://www.w3schools.com/js/tryit.asp?filename=tryjs_confirmI noticed that if I closed the confirm box by clicking on the red X in the corner of the box;the result says that "You pressed Cancel!" in which I did not.Is there a JavaScript answer to fix this type of error?Thanx

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...