![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 30 Pomógł: 0 Dołączył: 2.08.2007 Ostrzeżenie: (0%) ![]() ![]() |
document.forms is not a function
http://www.mechofduty.webd.pl/elizabeth/js/train.js Line 43 A oto co tam jest; Kod // wyswietla wartosci statystyk function displayStat() { document.getElementById('Exp').innerHTML = exp_now; for(var i = 0; i < 8; i++) { document.getElementById('cost['+i+']').innerHTML = getStatCost(addedStat[i] + baseStat[i] + 1); document.getElementById('staty['+i+']').innerHTML = addedStat[i] + baseStat[i]; document.forms('train').elements('stat['+i+']').value = addedStat[i] + baseStat[i]; } document.forms('train').elements('exp_now').value = exp_now; } Dodam że na Operze działa bez problemu. |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 389 Pomógł: 141 Dołączył: 11.04.2009 Ostrzeżenie: (0%) ![]() ![]() |
Kod js
document.forms['train'] html <form id="train"> |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 30 Pomógł: 0 Dołączył: 2.08.2007 Ostrzeżenie: (0%) ![]() ![]() |
głupi błąd ... dziękuje
![]() |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 24.07.2025 - 12:38 |