diff options
Diffstat (limited to 'js')
| -rw-r--r-- | js/imgcaptcha.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/js/imgcaptcha.js b/js/imgcaptcha.js new file mode 100644 index 00000000..8d3ed95c --- /dev/null +++ b/js/imgcaptcha.js @@ -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 +//}); |
