Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

javascript a confirm

more options

demo:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>
	<a href="content.php?action=delete&id=546&cid=230&mid=1" onclick="return confirm('false');">x</a>
</body>
</html>

1:while i click the link, 2:select the "cancel" this firefox will to visit the page of "content.php" in back .

demo: <pre><nowiki><!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> </head> <body> <a href="content.php?action=delete&id=546&cid=230&mid=1" onclick="return confirm('false');">x</a> </body> </html></nowiki></pre> 1:while i click the link, 2:select the "cancel" this firefox will to visit the page of "content.php" in back .

Modified by cor-el

All Replies (2)

more options

x

more options

<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> </head> <body> <a href="content.php?action=delete&id=546&cid=230&mid=1" onclick="return confirm('false');">x</a> </body> </html>