Visualizzazione dei risultati da 1 a 8 su 8

Hybrid View

  1. #1
    Moderatore di Annunci siti web, Offro lavoro/collaborazione, Cerco lavoro L'avatar di cavicchiandrea
    Registrato dal
    Aug 2001
    Messaggi
    26,134
    Cambia questo. L'occorrente di codice
    codice:
    document.autoSumForm.totale_generale.value = 
    (document.autoSumForm.tot_art001.value * 1) + 
    (document.autoSumForm.tot_art002.value * 1) +
    (document.autoSumForm.tot_art003.value * 1) +
    (document.autoSumForm.tot_art004.value * 1) +
    (document.autoSumForm.tot_art005.value * 1) +
    (document.autoSumForm.tot_art006.value * 1) +
    (document.autoSumForm.tot_art007.value * 1) +
    (document.autoSumForm.tot_art008.value * 1) +
    (document.autoSumForm.tot_art009.value * 1) +
    (document.autoSumForm.tot_art010.value * 1)
    con questo
    codice:
    document.autoSumForm.totale_generale.value = 
    (document.autoSumForm.tot_art001.value * 1) + 
    (document.autoSumForm.tot_art002.value * 1) +
    (document.autoSumForm.tot_art003.value * 1) +
    (document.autoSumForm.tot_art004.value * 1) +
    (document.autoSumForm.tot_art005.value * 1) +
    (document.autoSumForm.tot_art006.value * 1) +
    (document.autoSumForm.tot_art007.value * 1) +
    (document.autoSumForm.tot_art008.value * 1) +
    (document.autoSumForm.tot_art009.value * 1) +
    (document.autoSumForm.tot_art010.value * 1).toFixed(2)
    Cavicchi Andrea
    Problemi con javascript, jquery, ajax clicca qui

  2. #2
    Quote Originariamente inviata da cavicchiandrea Visualizza il messaggio
    Cambia questo. L'occorrente di codice
    codice:
    document.autoSumForm.totale_generale.value = 
    (document.autoSumForm.tot_art001.value * 1) + 
    (document.autoSumForm.tot_art002.value * 1) +
    (document.autoSumForm.tot_art003.value * 1) +
    (document.autoSumForm.tot_art004.value * 1) +
    (document.autoSumForm.tot_art005.value * 1) +
    (document.autoSumForm.tot_art006.value * 1) +
    (document.autoSumForm.tot_art007.value * 1) +
    (document.autoSumForm.tot_art008.value * 1) +
    (document.autoSumForm.tot_art009.value * 1) +
    (document.autoSumForm.tot_art010.value * 1)
    con questo
    codice:
    document.autoSumForm.totale_generale.value = 
    (document.autoSumForm.tot_art001.value * 1) + 
    (document.autoSumForm.tot_art002.value * 1) +
    (document.autoSumForm.tot_art003.value * 1) +
    (document.autoSumForm.tot_art004.value * 1) +
    (document.autoSumForm.tot_art005.value * 1) +
    (document.autoSumForm.tot_art006.value * 1) +
    (document.autoSumForm.tot_art007.value * 1) +
    (document.autoSumForm.tot_art008.value * 1) +
    (document.autoSumForm.tot_art009.value * 1) +
    (document.autoSumForm.tot_art010.value * 1).toFixed(2)
    Ho fatto come mi hai detto, ma non cambia nulla. Tra l'altro ho bisogno che la somma corretta sia quella totale_generale; altrettanto corretta dovrevve essere quella di ogni singolo articolo moltiplicato per il suo prezzo.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.