Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Javascript Alert Confirmation

DZone's Guide to

Javascript Alert Confirmation

·
Free Resource
// description of your code here


function show_confirm_delete()
{
	var r=confirm("Delete?");
	if (r==true) {
		window.location = "frames_1.php";
	} else {
		//if deny, then do this	
	}
}


html code is:


Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}