core/skin/detsad20.ru/js/guestbook.js

21 lines
584 B
JavaScript
Raw Normal View History

2023-02-08 16:59:59 +05:00
function change_capcha(){
var a=Math.random(100); document.getElementById( "capcha" ).src = "/func/capcha/captcha.php?c="+a;
}
$(function(){
var a=Math.random(100); document.getElementById( "capcha" ).src = "/func/capcha/captcha.php?c="+a;
$("table.table_otzyv tr:even").addClass('stripe');
$(".del_comment").click(function(event){/*Удаляем комент*/
var int_page_id = $(this).attr("href");
$("#div_del_page").load('/mod/guestbook/act.php?act=del_com&id=' + int_page_id);
$("#tr_" + int_page_id).hide(500);
return false;
});
})