![]() |
![]() |
![]()
Post
#1
|
|
![]() Grupa: Zarejestrowani Postów: 51 Pomógł: 0 Dołączył: 27.01.2009 Ostrzeżenie: (0%) ![]() ![]() |
Mam taką funkcję JS:
Kod function potwierdzFormularz(haslo_md5,haslo_sha1) { var komunikat = prompt("Podaj swoje aktualne hasło:",""); while(calcMD5(komunikat)!=haslo_md5 || calcSHA1(komunikat)!=haslo_sha1) { komunikat = prompt("Podaj swoje aktualne hasło:",""); } if(calcMD5(komunikat)==haslo_md5 && calcSHA1(komunikat)==haslo_sha1) { document.formularz.submit(); } } Cała funkcja działa, ale nie wiem jak wywołać funkcję submit dla tego formularza, bo ta, która jest w kodzie, niestety nie dziala. Jakieś pomysły? |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 19.07.2025 - 10:25 |