Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [JavaScript]Dodaje jako stringa
gsk
post
Post #1





Grupa: Zarejestrowani
Postów: 129
Pomógł: 4
Dołączył: 21.02.2004
Skąd: z domu

Ostrzeżenie: (0%)
-----


  1. function Suma()
  2. \{
  3. var obciazenia = document.getElementById('z').innerHTML;
  4. var uznania = document.getElementById('y').innerHTML;
  5. var prowizje = document.getElementById('x').innerHTML;
  6. document.getElementById('suma').innerHTML = (obciazenia+uznania+prowizje);
  7.  
  8. \}



Wynik mam zyx... zamiast sumy :/ nie wiem o co chodzi...

Ten post edytował gsk 21.12.2009, 15:39:11
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.08.2025 - 17:21