This commit is contained in:
Marcin Łabanowski 2012-12-22 21:43:55 +01:00
commit 49afb685c8
8 changed files with 238 additions and 1 deletions

16
js/imgcaptcha.js Normal file
View file

@ -0,0 +1,16 @@
//function obecnyCzas() {
// return Math.round(new Date().getTime() / 1000);
//}
function ic_odswiezKapcze() {
$.get("/imgcaptcha_p.php", function(data) {
$("#imgcaptcha_hash").val(data);
$("#imgcaptcha_img").prop("src","/imgcaptcha_im.php?cr=" + data);
});
}
//function resetujKapcze() {
// $("#imgcaptcha_img").prop("src","/zakrytek.png");
//}
//$(document).ready(function(){
// //resetujKapcze(); - to nie powinno byc na razie potrzebne
//});