HighDots Forums  

Re: passare dati di un form a script js

Javascript (Italian) Il linguaggio JavaScript (it.comp.lang.javascript)


Discuss Re: passare dati di un form a script js in the Javascript (Italian) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
nic
 
Posts: n/a

Default Re: passare dati di un form a script js - 06-24-2008 , 03:33 PM






Come suggerisce mastro delphine, sostituisci l'alert precedente con
alert(parseInt(f.numero1.value, 10) + parseInt(f.numero2.value, 10));
e dovrebbe funzionare.

Reply With Quote
  #2  
Old   
dragonet
 
Posts: n/a

Default funziona - 06-24-2008 , 03:34 PM






nic ha scritto:
Quote:
Come suggerisce mastro delphine, sostituisci l'alert precedente con
alert(parseInt(f.numero1.value, 10) + parseInt(f.numero2.value, 10));
e dovrebbe funzionare.
Ok, adesso funziona, grazie a entrambi.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.