mickeymouse Posted July 12, 2019 Share Posted July 12, 2019 I'm Baffled. My code (as far as I can see) matches W3 School tutorial example but it doesn't work. My button to go to the function doesn't react (it does if I remove my red text code. "function myDelDB() {var r = Confirm('Delete'); if (r==true) {location.href='CAS_RoulDeleteDB.php'; return false; window.open(location.href); return false;}else{return false;}}" Link to comment Share on other sites More sharing options...
justsomeguy Posted July 12, 2019 Share Posted July 12, 2019 Check your browser console for error messages, you'll see that "Confirm" is not defined. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now