21 lines
584 B
JavaScript
21 lines
584 B
JavaScript
|
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;
|
||
|
});
|
||
|
|
||
|
|
||
|
|
||
|
})
|