TypeError: document.getElementById(...) is null??

Status
Niet open voor verdere reacties.

crazyjoery

Gebruiker
Lid geworden
8 okt 2013
Berichten
5
goede avond,

ik heb een klein probleempje met mijn javascript als ik het zo zie.

Code:
TypeError: document.getElementById(...) is null
	

(1.10 * document.getElementById('arkonor_units_10').value * 4169.66 ) +

het gaat hierbij om de volgende regel(s)

Code:
(document.getElementById('bistot_units').value * <?php $string=implode(",",$bis[0]); echo round($string*0.925,2); ?> ) +
                (1.05 * document.getElementById('bistot_units_5').value * <?php $string=implode(",",$bis[0]); echo round($string*0.925,2); ?> ) +
                (1.10 * document.getElementById('bistot_units_10').value * <?php $string=implode(",",$bis[0]); echo round($string*0.925,2); ?> ) +
                (document.getElementById('arkonor_units').value * <?php $string=implode(",",$ark[0]); echo round($string*0.925,2); ?> ) +
                (1.05 * document.getElementById('arkonor_units_5').value * <?php $string=implode(",",$ark[0]); echo round($string*0.925,2); ?> ) +
                (1.10 * document.getElementById('arkonor_units_10').value * <?php $string=implode(",",$ark[0]); echo round($string*0.925,2); ?> ) +
                (document.getElementById('mercoxit_units').value * <?php $string=implode(",",$merc[0]); echo round($string*0.925,2); ?> ) +
                (1.05 * document.getElementById('mercoxit_units_5').value * <?php $string=implode(",",$merc[0]); echo round($string*0.925,2); ?> ) +
                (1.10 * document.getElementById('mercoxit_units_10').value * <?php $string=implode(",",$merc[0]); echo round($string*0.925,2); ?> );

de code loopt zo nog even door, haal ik deze regels weg dan is er niks aan de hand.

het betreft deze pagina : http://lone-star-warriors.com/dev/BuyUpIndexes/ore.php
 
Status
Niet open voor verdere reacties.
Steun Ons

Nieuwste berichten

Terug
Bovenaan Onderaan