- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
<script type="text/javascript" language="javascript">
function DeleteConfirmation()
{
if (confirm("Are you sure,
you want to delete selected records ?")==true)
return true;
else
return false;
}
</script>
Нашли или выдавили из себя код, который нельзя назвать нормальным, на который без улыбки не взглянешь? Не торопитесь его удалять или рефакторить, — запостите его на говнокод.ру, посмеёмся вместе!
0
<script type="text/javascript" language="javascript">
function DeleteConfirmation()
{
if (confirm("Are you sure,
you want to delete selected records ?")==true)
return true;
else
return false;
}
</script>
http://csharpdotnetfreak.blogspot.com/2009/05/edit-multiple-records-gridview-checkbox.html
Да так да, нет так нет
function DeleteConfirmation()
{
if (confirm("Are you sure,
you want to delete selected records ?")==true)
return true;
else
return false;
}
var somevalue = confirm("Are you sure, you want to delete selected records ?");
естественно оно вернет true или false
Писал этот код индус, пройди по ссылке
все сводиться к
function DeleteConfirmation()
{
return confirm("Are you sure, you want to delete selected records ?");
}