PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > fr.comp.lang.javascript > Addition en JavaScript
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Addition en JavaScript

Réponse
 
LinkBack Outils de la discussion
Vieux 29/04/2007, 08h35   #1
Schmol 44
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Addition en JavaScript

Bonjour à tous,

Mon Club m'a demandé de faire un petit Formulaire pour envoyer aux
Adhérents.

Je l'ai réalisé en "HTML" sans difficultés majeures, mais il faudrait
incorporer une addition automatique.

En fait, les articles seront renseignés par les Adhérents et les prix
aussi.
J'ai donc à droite de mon tableau, une colonne dans laquelle ils
écriront leurs prix manuellement, on me demande seulement :-( de faire
en sorte que le total soit automatique en fonction des prix inscrits.
Il me faut donc "récupérer" les prix écrits par les adhérents pour
faire une "addition", je sèche ............
Votre aide me serait précieuse,
D'avance merci

--
Amicalement
Schmol 44
e-mail : hcheli@#nospam#club-internet.fr
Site perso : http://hcheli.ville-orvault.net

"Une Question eststupide tant qu'elle n'est pas posée"


  Réponse avec citation
Vieux 29/04/2007, 10h14   #2
Thierry Loiseau
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Addition en JavaScript

> Mon Club m'a demandé de faire un petit Formulaire pour envoyer aux
> Adhérents. Je l'ai réalisé en "HTML" sans difficultés majeures, mais
> il faudrait incorporer une addition automatique.


Un début de code à nous montrer ?

Thierry
--
* * __*__ *
* * * -----oOOo---°O°---oOOo------ * *
<http://astrophoto.free.fr> *
* * -------- oOOo oOOo -------- *
  Réponse avec citation
Vieux 29/04/2007, 10h14   #3
Thierry Loiseau
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Addition en JavaScript

> Mon Club m'a demandé de faire un petit Formulaire pour envoyer aux
> Adhérents. Je l'ai réalisé en "HTML" sans difficultés majeures, mais
> il faudrait incorporer une addition automatique.


Un début de code à nous montrer ?

Thierry
--
* * __*__ *
* * * -----oOOo---°O°---oOOo------ * *
<http://astrophoto.free.fr> *
* * -------- oOOo oOOo -------- *
  Réponse avec citation
Vieux 29/04/2007, 11h09   #4
ASM
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Addition en JavaScript

Schmol 44 a écrit :
> Mon Club m'a demandé de faire un petit Formulaire pour envoyer aux
> Adhérents.
>
> J'ai donc à droite de mon tableau, une colonne dans laquelle ils
> écriront leurs prix manuellement, on me demande seulement :-( de faire
> en sorte que le total soit automatique en fonction des prix inscrits.
> Il me faut donc "récupérer" les prix écrits par les adhérents pour faire
> une "addition", je sèche ............


http://perso.orange.fr/stephane.mori...b_html/calcul/
http://perso.orange.fr/stephane.mori...cul/calc_form/
http://perso.wanadoo.fr/chatinais/coursjs/

Expressions régulières :
http://fr.selfhtml.org/javascript/objets/regexp.htm
http://toutjavascript.com/savoir/savoir22.php3
http://www.evolt.org/article/Regular...ript/17/36435/


<html>
<script type="text/javascript">
function purge(nbre) {
// conversion séparateur ',' en '.'
nbre = nbre.replace(',','.');
// recherche et remplacement de caractères non désirés
nbre = nbre.replace(/([^0-9 ^.]|\.{2,5}|\s)/g,'');
return nbre;
}
function add() {
var f = document.forms[0];
var tot = 0;
// pour chaque élément du formulaire
for(var i=0; i<f.length; i++) {
// si c'est un champ de texte et dont le nom commence par 'ch_'
if(f[i].type=='text' && f[i].name.indexOf('ch_')>=0) {
// correction du contenu du champ
f[i].value = purge(f[i].value);
// ajout de cette valeur à la variable 'tot'
tot += f[i].value*1;
// comme la valeur d'un champ est de type texte
// on l'a transformée en nombre (en le multipliant par 1)
// avant de faire l'addition
}
}
// insertion du résultat
f['total'].value = tot;
}
</script>
<form onsubmit="return false;">
<p>valeur 1 : <input type=text name="ch_1" onchange="add()">
<p>valeur 2 : <input type=text name="ch_2" onchange="add()">
<p>valeur 3 : <input type=text name="ch_3" onchange="add()">
<p>total : <input type=text name="total">
</form>
</html>


--
Stephane Moriaux et son (moins) vieux Mac déjà dépassé
  Réponse avec citation
Vieux 29/04/2007, 15h46   #5
Schmol 44
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Addition en JavaScript

Thierry Loiseau a émis l'idée suivante :
>> Mon Club m'a demandé de faire un petit Formulaire pour envoyer aux
>> Adhérents. Je l'ai réalisé en "HTML" sans difficultés majeures, mais
>> il faudrait incorporer une addition automatique.

>
> Un début de code à nous montrer ?
>
> Thierry


Voici, voilà :

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">

<HTML>
<HEAD>
<TITLE>Saisissez le titre de la page</TITLE>
<META http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<META Name="GENERATOR" content="SC_HTML by SoftChris">
<META Name="AUTHOR" Content="SoftChris">
<META Name="DESCRIPTION" Content="Description de votre site">
<META Name="KEYWORDS" Content="Saisissez vos mots clés de recherche
séparés par une virgule">
</HEAD>

<BODY BGCOLOR="#FFFFFF" TEXT="#000000">

<table align="center" width="100%" border="2"
Bordercolorlight="#00AA00" Bordercolordark="#00AA00" BGCOLOR="#ccffff">
<tr>
<td colspan="" Align="center">
<font color ="#770000">
ATELIERS + Jours/horaires :
</td>

<td align="center">
<font color ="#770000">
Durée :
</td>

<td align="center">
<font color ="#770000">
Prix :
</td>

<td>
</td>
</TR>

<tr>
<td colspan="3">
<ul>
<font color ="#770000">
<li>1er Trimestre :

</td>
<tr>
<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Textarea align=left cols=30 Rows=3 Name="trimestre1"></TEXTAREA>
</td>

<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Input style="" length="30" Name="durée">
<Input style="" length="30" Name="durée">
</td>

<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Input style="" length="30" Name="prix">
<Input style="" length="30" Name="prix">
</td>
</tr>

<tr>
<td colspan="3">
<font color ="#770000">
<ul>
<li>2ème Trimestre :
</td>
<tr>
<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Textarea align=left cols=30 Rows=3 Name="trimestre2"></TEXTAREA>
</td>

<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Input style="" length="30" Name="durée">
</B><Input style="" length="30" Name="durée">
</td>

<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Input style="" length="30" Name="prix">
</B><Input style="" length="30" Name="prix">
</td>
</tr>

<tr>
<td colspan="3">
<ul>
<font color ="#770000">
<li>3ème Trimestre :
</td>
<tr>
<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Textarea align=left cols=30 Rows=3 Name="trimestre3"></TEXTAREA>
</td>

<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Input style="" length="30" Name="durée">
</B><Input style="" length="30" Name="durée">
</td>

<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Input style="" length="30" Name="prix">
</B><Input style="" length="30" Name="prix">
</td>
</tr>

<tr>
<td align="center">
<font color ="#770000">
Adhésion au CLO
</td>
<td align="right">
<font color ="#770000">
Orvaltais : 10¤ &nbsp;&nbsp;
<br>
Non Orvaltais : 12¤ &nbsp;&nbsp;
</td>
<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Input style="" length="30" Name="adhésion">
</td>
</tr>
<tr>
<td colspan="2" align= "right">
<font color ="#770000">
TOTAL :&nbsp;&nbsp;
</td>
<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Input style="" length="30" Name="TOTAL">
</td>
</tr>
</table>
</BODY>
</HTML>

merci de ton intérêt.

--
Amicalement
Schmol 44
e-mail : hcheli@#nospam#club-internet.fr
Site perso : http://hcheli.ville-orvault.net

"Une Question eststupide tant qu'elle n'est pas posée"


  Réponse avec citation
Vieux 29/04/2007, 15h46   #6
Schmol 44
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Addition en JavaScript

Thierry Loiseau a émis l'idée suivante :
>> Mon Club m'a demandé de faire un petit Formulaire pour envoyer aux
>> Adhérents. Je l'ai réalisé en "HTML" sans difficultés majeures, mais
>> il faudrait incorporer une addition automatique.

>
> Un début de code à nous montrer ?
>
> Thierry


Voici, voilà :

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">

<HTML>
<HEAD>
<TITLE>Saisissez le titre de la page</TITLE>
<META http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<META Name="GENERATOR" content="SC_HTML by SoftChris">
<META Name="AUTHOR" Content="SoftChris">
<META Name="DESCRIPTION" Content="Description de votre site">
<META Name="KEYWORDS" Content="Saisissez vos mots clés de recherche
séparés par une virgule">
</HEAD>

<BODY BGCOLOR="#FFFFFF" TEXT="#000000">

<table align="center" width="100%" border="2"
Bordercolorlight="#00AA00" Bordercolordark="#00AA00" BGCOLOR="#ccffff">
<tr>
<td colspan="" Align="center">
<font color ="#770000">
ATELIERS + Jours/horaires :
</td>

<td align="center">
<font color ="#770000">
Durée :
</td>

<td align="center">
<font color ="#770000">
Prix :
</td>

<td>
</td>
</TR>

<tr>
<td colspan="3">
<ul>
<font color ="#770000">
<li>1er Trimestre :

</td>
<tr>
<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Textarea align=left cols=30 Rows=3 Name="trimestre1"></TEXTAREA>
</td>

<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Input style="" length="30" Name="durée">
<Input style="" length="30" Name="durée">
</td>

<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Input style="" length="30" Name="prix">
<Input style="" length="30" Name="prix">
</td>
</tr>

<tr>
<td colspan="3">
<font color ="#770000">
<ul>
<li>2ème Trimestre :
</td>
<tr>
<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Textarea align=left cols=30 Rows=3 Name="trimestre2"></TEXTAREA>
</td>

<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Input style="" length="30" Name="durée">
</B><Input style="" length="30" Name="durée">
</td>

<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Input style="" length="30" Name="prix">
</B><Input style="" length="30" Name="prix">
</td>
</tr>

<tr>
<td colspan="3">
<ul>
<font color ="#770000">
<li>3ème Trimestre :
</td>
<tr>
<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Textarea align=left cols=30 Rows=3 Name="trimestre3"></TEXTAREA>
</td>

<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Input style="" length="30" Name="durée">
</B><Input style="" length="30" Name="durée">
</td>

<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Input style="" length="30" Name="prix">
</B><Input style="" length="30" Name="prix">
</td>
</tr>

<tr>
<td align="center">
<font color ="#770000">
Adhésion au CLO
</td>
<td align="right">
<font color ="#770000">
Orvaltais : 10¤ &nbsp;&nbsp;
<br>
Non Orvaltais : 12¤ &nbsp;&nbsp;
</td>
<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Input style="" length="30" Name="adhésion">
</td>
</tr>
<tr>
<td colspan="2" align= "right">
<font color ="#770000">
TOTAL :&nbsp;&nbsp;
</td>
<TD Align="">
<FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
</B><Input style="" length="30" Name="TOTAL">
</td>
</tr>
</table>
</BODY>
</HTML>

merci de ton intérêt.

--
Amicalement
Schmol 44
e-mail : hcheli@#nospam#club-internet.fr
Site perso : http://hcheli.ville-orvault.net

"Une Question eststupide tant qu'elle n'est pas posée"


  Réponse avec citation
Vieux 29/04/2007, 15h46   #7
Schmol 44
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Addition en JavaScript

Le 29/04/2007, ASM a supposé :
> Schmol 44 a écrit :
>> Mon Club m'a demandé de faire un petit Formulaire pour envoyer aux
>> Adhérents.
>>
>> J'ai donc à droite de mon tableau, une colonne dans laquelle ils écriront
>> leurs prix manuellement, on me demande seulement :-( de faire en sorte que
>> le total soit automatique en fonction des prix inscrits.
>> Il me faut donc "récupérer" les prix écrits par les adhérents pour faire
>> une "addition", je sèche ............

>
> http://perso.orange.fr/stephane.mori...b_html/calcul/
> http://perso.orange.fr/stephane.mori...cul/calc_form/
> http://perso.wanadoo.fr/chatinais/coursjs/
>
> Expressions régulières :
> http://fr.selfhtml.org/javascript/objets/regexp.htm
> http://toutjavascript.com/savoir/savoir22.php3
> http://www.evolt.org/article/Regular...ript/17/36435/
>
>
> <html>
> <script type="text/javascript">
> function purge(nbre) {
> // conversion séparateur ',' en '.'
> nbre = nbre.replace(',','.');
> // recherche et remplacement de caractères non désirés
> nbre = nbre.replace(/([^0-9 ^.]|\.{2,5}|\s)/g,'');
> return nbre;
> }
> function add() {
> var f = document.forms[0];
> var tot = 0;
> // pour chaque élément du formulaire
> for(var i=0; i<f.length; i++) {
> // si c'est un champ de texte et dont le nom commence par 'ch_'
> if(f[i].type=='text' && f[i].name.indexOf('ch_')>=0) {
> // correction du contenu du champ
> f[i].value = purge(f[i].value);
> // ajout de cette valeur à la variable 'tot'
> tot += f[i].value*1;
> // comme la valeur d'un champ est de type texte
> // on l'a transformée en nombre (en le multipliant par 1)
> // avant de faire l'addition
> }
> }
> // insertion du résultat
> f['total'].value = tot;
> }
> </script>
> <form onsubmit="return false;">
> <p>valeur 1 : <input type=text name="ch_1" onchange="add()">
> <p>valeur 2 : <input type=text name="ch_2" onchange="add()">
> <p>valeur 3 : <input type=text name="ch_3" onchange="add()">
> <p>total : <input type=text name="total">
> </form>
> </html>


Merci pour cette réponse que je vais"étudier" avec beaucoup
d'attention.

--
Amicalement
Schmol 44
e-mail : hcheli@#nospam#club-internet.fr
Site perso : http://hcheli.ville-orvault.net

"Une Question eststupide tant qu'elle n'est pas posée"


  Réponse avec citation
Vieux 29/04/2007, 15h46   #8
Schmol 44
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Addition en JavaScript

Le 29/04/2007, ASM a supposé :
> Schmol 44 a écrit :
>> Mon Club m'a demandé de faire un petit Formulaire pour envoyer aux
>> Adhérents.
>>
>> J'ai donc à droite de mon tableau, une colonne dans laquelle ils écriront
>> leurs prix manuellement, on me demande seulement :-( de faire en sorte que
>> le total soit automatique en fonction des prix inscrits.
>> Il me faut donc "récupérer" les prix écrits par les adhérents pour faire
>> une "addition", je sèche ............

>
> http://perso.orange.fr/stephane.mori...b_html/calcul/
> http://perso.orange.fr/stephane.mori...cul/calc_form/
> http://perso.wanadoo.fr/chatinais/coursjs/
>
> Expressions régulières :
> http://fr.selfhtml.org/javascript/objets/regexp.htm
> http://toutjavascript.com/savoir/savoir22.php3
> http://www.evolt.org/article/Regular...ript/17/36435/
>
>
> <html>
> <script type="text/javascript">
> function purge(nbre) {
> // conversion séparateur ',' en '.'
> nbre = nbre.replace(',','.');
> // recherche et remplacement de caractères non désirés
> nbre = nbre.replace(/([^0-9 ^.]|\.{2,5}|\s)/g,'');
> return nbre;
> }
> function add() {
> var f = document.forms[0];
> var tot = 0;
> // pour chaque élément du formulaire
> for(var i=0; i<f.length; i++) {
> // si c'est un champ de texte et dont le nom commence par 'ch_'
> if(f[i].type=='text' && f[i].name.indexOf('ch_')>=0) {
> // correction du contenu du champ
> f[i].value = purge(f[i].value);
> // ajout de cette valeur à la variable 'tot'
> tot += f[i].value*1;
> // comme la valeur d'un champ est de type texte
> // on l'a transformée en nombre (en le multipliant par 1)
> // avant de faire l'addition
> }
> }
> // insertion du résultat
> f['total'].value = tot;
> }
> </script>
> <form onsubmit="return false;">
> <p>valeur 1 : <input type=text name="ch_1" onchange="add()">
> <p>valeur 2 : <input type=text name="ch_2" onchange="add()">
> <p>valeur 3 : <input type=text name="ch_3" onchange="add()">
> <p>total : <input type=text name="total">
> </form>
> </html>


Merci pour cette réponse que je vais"étudier" avec beaucoup
d'attention.

--
Amicalement
Schmol 44
e-mail : hcheli@#nospam#club-internet.fr
Site perso : http://hcheli.ville-orvault.net

"Une Question eststupide tant qu'elle n'est pas posée"


  Réponse avec citation
Vieux 29/04/2007, 21h49   #9
ASM
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Addition en JavaScript

Schmol 44 a écrit :
>
> Voici, voilà :
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
>
> <HTML>
> <HEAD>
> <TITLE>Saisissez le titre de la page</TITLE>
> <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> <META Name="GENERATOR" content="SC_HTML by SoftChris">


Ton générateur de code HTML bégaye ?

> <META Name="AUTHOR" Content="SoftChris">
> <META Name="DESCRIPTION" Content="Description de votre site">
> <META Name="KEYWORDS" Content="Saisissez vos mots clés de recherche
> séparés par une virgule">


A quoi sert-ce ce keywords ?

> </HEAD>
>
> <BODY BGCOLOR="#FFFFFF" TEXT="#000000">
>
> <table align="center" width="100%" border="2" Bordercolorlight="#00AA00"
> Bordercolordark="#00AA00" BGCOLOR="#ccffff">
> <tr>
> <td colspan="" Align="center">
> <font color ="#770000">
> ATELIERS + Jours/horaires :
> </td>
>
> <td align="center">
> <font color ="#770000">
> Durée :
> </td>
>
> <td align="center">
> <font color ="#770000">
> Prix :
> </td>


He ben ! On va finir par le savoir que la couleur est 700 :-)


> <td>
> </td>
> </TR>
>
> <tr>
> <td colspan="3">
> <ul>
> <font color ="#770000">
> <li>1er Trimestre :
>
> </td>
> <tr>
> <TD Align="">
> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
> </B><Textarea align=left cols=30 Rows=3 Name="trimestre1"></TEXTAREA>
> </td>
>
> <TD Align="">
> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
> </B><Input style="" length="30" Name="durée">
> <Input style="" length="30" Name="durée">
> </td>


ça ne te gène pas d'avoir 2 fois la même chose ?

> <TD Align="">
> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
> </B><Input style="" length="30" Name="prix">
> <Input style="" length="30" Name="prix">
> </td>
> </tr>
>
> <tr>
> <td colspan="3">
> <font color ="#770000">
> <ul>
> <li>2ème Trimestre :
> </td>
> <tr>
> <TD Align="">
> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
> </B><Textarea align=left cols=30 Rows=3 Name="trimestre2"></TEXTAREA>
> </td>
>
> <TD Align="">
> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
> </B><Input style="" length="30" Name="durée">
> </B><Input style="" length="30" Name="durée">
> </td>
>
> <TD Align="">
> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
> </B><Input style="" length="30" Name="prix">
> </B><Input style="" length="30" Name="prix">
> </td>
> </tr>
>
> <tr>
> <td colspan="3">
> <ul>
> <font color ="#770000">
> <li>3ème Trimestre :
> </td>
> <tr>
> <TD Align="">
> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
> </B><Textarea align=left cols=30 Rows=3 Name="trimestre3"></TEXTAREA>
> </td>
>
> <TD Align="">
> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
> </B><Input style="" length="30" Name="durée">
> </B><Input style="" length="30" Name="durée">
> </td>
>
> <TD Align="">
> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
> </B><Input style="" length="30" Name="prix">
> </B><Input style="" length="30" Name="prix">
> </td>
> </tr>
>
> <tr>
> <td align="center">
> <font color ="#770000">
> Adhésion au CLO
> </td>
> <td align="right">
> <font color ="#770000">
> Orvaltais : 10¤ &nbsp;&nbsp;
> <br>
> Non Orvaltais : 12¤ &nbsp;&nbsp;
> </td>
> <TD Align="">
> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
> </B><Input style="" length="30" Name="adhésion">
> </td>
> </tr>
> <tr>
> <td colspan="2" align= "right">
> <font color ="#770000">
> TOTAL :&nbsp;&nbsp;
> </td>
> <TD Align="">
> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
> </B><Input style="" length="30" Name="TOTAL">
> </td>
> </tr>
> </table>
> </BODY>
> </HTML>
>
> merci de ton intérêt.


et donc ... que fôt-il additionner ?
(si on pouvait purger les font blabla on y verrait déjà un peu mieux)



--
Stephane Moriaux et son (moins) vieux Mac déjà dépassé
  Réponse avec citation
Vieux 29/04/2007, 21h49   #10
ASM
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Addition en JavaScript

Schmol 44 a écrit :
>
> Voici, voilà :
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
>
> <HTML>
> <HEAD>
> <TITLE>Saisissez le titre de la page</TITLE>
> <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> <META Name="GENERATOR" content="SC_HTML by SoftChris">


Ton générateur de code HTML bégaye ?

> <META Name="AUTHOR" Content="SoftChris">
> <META Name="DESCRIPTION" Content="Description de votre site">
> <META Name="KEYWORDS" Content="Saisissez vos mots clés de recherche
> séparés par une virgule">


A quoi sert-ce ce keywords ?

> </HEAD>
>
> <BODY BGCOLOR="#FFFFFF" TEXT="#000000">
>
> <table align="center" width="100%" border="2" Bordercolorlight="#00AA00"
> Bordercolordark="#00AA00" BGCOLOR="#ccffff">
> <tr>
> <td colspan="" Align="center">
> <font color ="#770000">
> ATELIERS + Jours/horaires :
> </td>
>
> <td align="center">
> <font color ="#770000">
> Durée :
> </td>
>
> <td align="center">
> <font color ="#770000">
> Prix :
> </td>


He ben ! On va finir par le savoir que la couleur est 700 :-)


> <td>
> </td>
> </TR>
>
> <tr>
> <td colspan="3">
> <ul>
> <font color ="#770000">
> <li>1er Trimestre :
>
> </td>
> <tr>
> <TD Align="">
> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
> </B><Textarea align=left cols=30 Rows=3 Name="trimestre1"></TEXTAREA>
> </td>
>
> <TD Align="">
> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
> </B><Input style="" length="30" Name="durée">
> <Input style="" length="30" Name="durée">
> </td>


ça ne te gène pas d'avoir 2 fois la même chose ?

> <TD Align="">
> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
> </B><Input style="" length="30" Name="prix">
> <Input style="" length="30" Name="prix">
> </td>
> </tr>
>
> <tr>
> <td colspan="3">
> <font color ="#770000">
> <ul>
> <li>2ème Trimestre :
> </td>
> <tr>
> <TD Align="">
> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
> </B><Textarea align=left cols=30 Rows=3 Name="trimestre2"></TEXTAREA>
> </td>
>
> <TD Align="">
> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
> </B><Input style="" length="30" Name="durée">
> </B><Input style="" length="30" Name="durée">
> </td>
>
> <TD Align="">
> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
> </B><Input style="" length="30" Name="prix">
> </B><Input style="" length="30" Name="prix">
> </td>
> </tr>
>
> <tr>
> <td colspan="3">
> <ul>
> <font color ="#770000">
> <li>3ème Trimestre :
> </td>
> <tr>
> <TD Align="">
> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
> </B><Textarea align=left cols=30 Rows=3 Name="trimestre3"></TEXTAREA>
> </td>
>
> <TD Align="">
> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
> </B><Input style="" length="30" Name="durée">
> </B><Input style="" length="30" Name="durée">
> </td>
>
> <TD Align="">
> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
> </B><Input style="" length="30" Name="prix">
> </B><Input style="" length="30" Name="prix">
> </td>
> </tr>
>
> <tr>
> <td align="center">
> <font color ="#770000">
> Adhésion au CLO
> </td>
> <td align="right">
> <font color ="#770000">
> Orvaltais : 10¤ &nbsp;&nbsp;
> <br>
> Non Orvaltais : 12¤ &nbsp;&nbsp;
> </td>
> <TD Align="">
> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
> </B><Input style="" length="30" Name="adhésion">
> </td>
> </tr>
> <tr>
> <td colspan="2" align= "right">
> <font color ="#770000">
> TOTAL :&nbsp;&nbsp;
> </td>
> <TD Align="">
> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
> </B><Input style="" length="30" Name="TOTAL">
> </td>
> </tr>
> </table>
> </BODY>
> </HTML>
>
> merci de ton intérêt.


et donc ... que fôt-il additionner ?
(si on pouvait purger les font blabla on y verrait déjà un peu mieux)



--
Stephane Moriaux et son (moins) vieux Mac déjà dépassé
  Réponse avec citation
Vieux 29/04/2007, 22h41   #11
Schmol 44
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Addition en JavaScript

ASM a utilisé son clavier pour écrire :
> Schmol 44 a écrit :
>>
>> Voici, voilà :
>>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
>>
>> <HTML>
>> <HEAD>
>> <TITLE>Saisissez le titre de la page</TITLE>
>> <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
>> <META Name="GENERATOR" content="SC_HTML by SoftChris">

>
> Ton générateur de code HTML bégaye ?
>>> Oui, peut-être :-(
>>>

>> <META Name="DESCRIPTION" Content="Description de votre site">
>> <META Name="KEYWORDS" Content="Saisissez vos mots clés de recherche
>> séparés par une virgule">

>
> A quoi sert-ce ce keywords ?
>>>A rien, En fait c'est l'éditeur qui me créé ça et je ne l'ai pas
>>>complété,car ça ne sera pas sur une page Web, mais en PJ de messagerie
>>> et réponse par courrier, car il faut une signature :-(
>>>

>> </HEAD>
>>
>> <BODY BGCOLOR="#FFFFFF" TEXT="#000000">
>>
>> <table align="center" width="100%" border="2" Bordercolorlight="#00AA00"
>> Bordercolordark="#00AA00" BGCOLOR="#ccffff">
>> <tr>
>> <td colspan="" Align="center">
>> <font color ="#770000">
>> ATELIERS + Jours/horaires :
>> </td>
>>
>> <td align="center">
>> <font color ="#770000">
>> Durée :
>> </td>
>>
>> <td align="center">
>> <font color ="#770000">
>> Prix :
>> </td>

>
> He ben ! On va finir par le savoir que la couleur est 700 :-)
>
>>> C'est parce que j'ai fait du "copier/coller", mais je supprimerais
>>> tout ça ;-)
>>>

>> <td>
>> </td>
>> </TR>
>>
>> <tr>
>> <td colspan="3">
>> <ul>
>> <font color ="#770000">
>> <li>1er Trimestre :
>>
>> </td>
>> <tr>
>> <TD Align="">
>> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
>> </B><Textarea align=left cols=30 Rows=3 Name="trimestre1"></TEXTAREA>
>> </td>
>>
>> <TD Align="">
>> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
>> </B><Input style="" length="30" Name="durée">
>> <Input style="" length="30" Name="durée">
>> </td>

>
> ça ne te gène pas d'avoir 2 fois la même chose ?
>
> Non, car sur le Tableau, j'ai besoin de 2 lignes semblables pour que
> l'on puisse inscrire une durée en heure qui ne s'additionnera pas.
>
>> <TD Align="">
>> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
>> </B><Input style="" length="30" Name="prix">
>> <Input style="" length="30" Name="prix">
>> </td>
>> </tr>
>>
>> <tr>
>> <td colspan="3">
>> <font color ="#770000">
>> <ul>
>> <li>2ème Trimestre :
>> </td>
>> <tr>
>> <TD Align="">
>> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
>> </B><Textarea align=left cols=30 Rows=3 Name="trimestre2"></TEXTAREA>
>> </td>
>>
>> <TD Align="">
>> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
>> </B><Input style="" length="30" Name="durée">
>> </B><Input style="" length="30" Name="durée">
>> </td>
>>
>> <TD Align="">
>> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
>> </B><Input style="" length="30" Name="prix">
>> </B><Input style="" length="30" Name="prix">
>> </td>
>> </tr>
>>
>> <tr>
>> <td colspan="3">
>> <ul>
>> <font color ="#770000">
>> <li>3ème Trimestre :
>> </td>
>> <tr>
>> <TD Align="">
>> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
>> </B><Textarea align=left cols=30 Rows=3 Name="trimestre3"></TEXTAREA>
>> </td>
>>
>> <TD Align="">
>> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
>> </B><Input style="" length="30" Name="durée">
>> </B><Input style="" length="30" Name="durée">
>> </td>
>>
>> <TD Align="">
>> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
>> </B><Input style="" length="30" Name="prix">
>> </B><Input style="" length="30" Name="prix">
>> </td>
>> </tr>
>>
>> <tr>
>> <td align="center">
>> <font color ="#770000">
>> Adhésion au CLO
>> </td>
>> <td align="right">
>> <font color ="#770000">
>> Orvaltais : 10¤ &nbsp;&nbsp;
>> <br>
>> Non Orvaltais : 12¤ &nbsp;&nbsp;
>> </td>
>> <TD Align="">
>> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
>> </B><Input style="" length="30" Name="adhésion">
>> </td>
>> </tr>
>> <tr>
>> <td colspan="2" align= "right">
>> <font color ="#770000">
>> TOTAL :&nbsp;&nbsp;
>> </td>
>> <TD Align="">
>> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
>> </B><Input style="" length="30" Name="TOTAL">
>> </td>
>> </tr>
>> </table>
>> </BODY>
>> </HTML>
>>
>> merci de ton intérêt.

>
> et donc ... que fôt-il additionner ?
>>>La colonne Prix quand elles est complétée par l'Adhérent.
>>>(Prix du 1er Trimestre, 2 lignes éventuellement)
>>>( Prix du second trimestre, 2 lignes éventuellement)
>>>(Prix du 3ème trimestre, 2 lignes éventuellement)
>>>Prix de l'Adhésion, 1 ligne,
>>> Donc le total des 7 lignes de prix.

> (si on pouvait purger les font blabla on y verrait déjà un peu mieux)
>>>A part en créant un fichier CSS, je fais comment pour donner la même
>>> couleur des titres dans chaque cellule ?


--
Amicalement
Schmol 44
e-mail : hcheli@#nospam#club-internet.fr
Site perso : http://hcheli.ville-orvault.net

"Une Question eststupide tant qu'elle n'est pas posée"


  Réponse avec citation
Vieux 29/04/2007, 22h41   #12
Schmol 44
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Addition en JavaScript

ASM a utilisé son clavier pour écrire :
> Schmol 44 a écrit :
>>
>> Voici, voilà :
>>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
>>
>> <HTML>
>> <HEAD>
>> <TITLE>Saisissez le titre de la page</TITLE>
>> <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
>> <META Name="GENERATOR" content="SC_HTML by SoftChris">

>
> Ton générateur de code HTML bégaye ?
>>> Oui, peut-être :-(
>>>

>> <META Name="DESCRIPTION" Content="Description de votre site">
>> <META Name="KEYWORDS" Content="Saisissez vos mots clés de recherche
>> séparés par une virgule">

>
> A quoi sert-ce ce keywords ?
>>>A rien, En fait c'est l'éditeur qui me créé ça et je ne l'ai pas
>>>complété,car ça ne sera pas sur une page Web, mais en PJ de messagerie
>>> et réponse par courrier, car il faut une signature :-(
>>>

>> </HEAD>
>>
>> <BODY BGCOLOR="#FFFFFF" TEXT="#000000">
>>
>> <table align="center" width="100%" border="2" Bordercolorlight="#00AA00"
>> Bordercolordark="#00AA00" BGCOLOR="#ccffff">
>> <tr>
>> <td colspan="" Align="center">
>> <font color ="#770000">
>> ATELIERS + Jours/horaires :
>> </td>
>>
>> <td align="center">
>> <font color ="#770000">
>> Durée :
>> </td>
>>
>> <td align="center">
>> <font color ="#770000">
>> Prix :
>> </td>

>
> He ben ! On va finir par le savoir que la couleur est 700 :-)
>
>>> C'est parce que j'ai fait du "copier/coller", mais je supprimerais
>>> tout ça ;-)
>>>

>> <td>
>> </td>
>> </TR>
>>
>> <tr>
>> <td colspan="3">
>> <ul>
>> <font color ="#770000">
>> <li>1er Trimestre :
>>
>> </td>
>> <tr>
>> <TD Align="">
>> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
>> </B><Textarea align=left cols=30 Rows=3 Name="trimestre1"></TEXTAREA>
>> </td>
>>
>> <TD Align="">
>> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
>> </B><Input style="" length="30" Name="durée">
>> <Input style="" length="30" Name="durée">
>> </td>

>
> ça ne te gène pas d'avoir 2 fois la même chose ?
>
> Non, car sur le Tableau, j'ai besoin de 2 lignes semblables pour que
> l'on puisse inscrire une durée en heure qui ne s'additionnera pas.
>
>> <TD Align="">
>> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
>> </B><Input style="" length="30" Name="prix">
>> <Input style="" length="30" Name="prix">
>> </td>
>> </tr>
>>
>> <tr>
>> <td colspan="3">
>> <font color ="#770000">
>> <ul>
>> <li>2ème Trimestre :
>> </td>
>> <tr>
>> <TD Align="">
>> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
>> </B><Textarea align=left cols=30 Rows=3 Name="trimestre2"></TEXTAREA>
>> </td>
>>
>> <TD Align="">
>> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
>> </B><Input style="" length="30" Name="durée">
>> </B><Input style="" length="30" Name="durée">
>> </td>
>>
>> <TD Align="">
>> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
>> </B><Input style="" length="30" Name="prix">
>> </B><Input style="" length="30" Name="prix">
>> </td>
>> </tr>
>>
>> <tr>
>> <td colspan="3">
>> <ul>
>> <font color ="#770000">
>> <li>3ème Trimestre :
>> </td>
>> <tr>
>> <TD Align="">
>> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
>> </B><Textarea align=left cols=30 Rows=3 Name="trimestre3"></TEXTAREA>
>> </td>
>>
>> <TD Align="">
>> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
>> </B><Input style="" length="30" Name="durée">
>> </B><Input style="" length="30" Name="durée">
>> </td>
>>
>> <TD Align="">
>> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
>> </B><Input style="" length="30" Name="prix">
>> </B><Input style="" length="30" Name="prix">
>> </td>
>> </tr>
>>
>> <tr>
>> <td align="center">
>> <font color ="#770000">
>> Adhésion au CLO
>> </td>
>> <td align="right">
>> <font color ="#770000">
>> Orvaltais : 10¤ &nbsp;&nbsp;
>> <br>
>> Non Orvaltais : 12¤ &nbsp;&nbsp;
>> </td>
>> <TD Align="">
>> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
>> </B><Input style="" length="30" Name="adhésion">
>> </td>
>> </tr>
>> <tr>
>> <td colspan="2" align= "right">
>> <font color ="#770000">
>> TOTAL :&nbsp;&nbsp;
>> </td>
>> <TD Align="">
>> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
>> </B><Input style="" length="30" Name="TOTAL">
>> </td>
>> </tr>
>> </table>
>> </BODY>
>> </HTML>
>>
>> merci de ton intérêt.

>
> et donc ... que fôt-il additionner ?
>>>La colonne Prix quand elles est complétée par l'Adhérent.
>>>(Prix du 1er Trimestre, 2 lignes éventuellement)
>>>( Prix du second trimestre, 2 lignes éventuellement)
>>>(Prix du 3ème trimestre, 2 lignes éventuellement)
>>>Prix de l'Adhésion, 1 ligne,
>>> Donc le total des 7 lignes de prix.

> (si on pouvait purger les font blabla on y verrait déjà un peu mieux)
>>>A part en créant un fichier CSS, je fais comment pour donner la même
>>> couleur des titres dans chaque cellule ?


--
Amicalement
Schmol 44
e-mail : hcheli@#nospam#club-internet.fr
Site perso : http://hcheli.ville-orvault.net

"Une Question eststupide tant qu'elle n'est pas posée"


  Réponse avec citation
Vieux 30/04/2007, 12h53   #13
Gloops
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Addition en JavaScript

Schmol 44 a écrit, le 29/04/2007 23:41 :

> A part en créant un fichier CSS,


Ah, bonne idée
  Réponse avec citation
Vieux 30/04/2007, 12h53   #14
Gloops
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Addition en JavaScript

Schmol 44 a écrit, le 29/04/2007 23:41 :

> A part en créant un fichier CSS,


Ah, bonne idée
  Réponse avec citation
Vieux 30/04/2007, 12h59   #15
ASM
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Addition en JavaScript

Schmol 44 a écrit :
> ASM a utilisé son clavier pour écrire :
>> Schmol 44 a écrit :

[...]
>>> <BODY BGCOLOR="#FFFFFF" TEXT="#000000">


Ha ! Ben ?
Et le form ?
Où est la balise 'form' ?
Sans form on ne peut rien faire ...
(ou alors pas propre du tout !)

>>> <table align="center" width="100%" border="2"
>>> Bordercolorlight="#00AA00" Bordercolordark="#00AA00" BGCOLOR="#ccffff">
>>> <tr>
>>> <td colspan="" Align="center">
>>> <font color ="#770000">

[...]
>> He ben ! On va finir par le savoir que la couleur est 700 :-)
>>
>>>> C'est parce que j'ai fait du "copier/coller", mais je supprimerais
>>>> tout ça ;-)


J'asperge (à la mayo) !

[...]
>>> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
>>> </B><Input style="" length="30" Name="durée">
>>> <Input style="" length="30" Name="durée">
>>> </td>

>>
>> ça ne te gène pas d'avoir 2 fois la même chose ?
>>
>> Non, car sur le Tableau, j'ai besoin de 2 lignes semblables pour que
>> l'on puisse inscrire une durée en heure qui ne s'additionnera pas.


Semblables, pourquoi pas, mais certainement pas clonées !
Comment veux-tu t'y reconnaître ?
Comment veux-tu que le JS s'y retrouve ?

[...]
>>> Non Orvaltais : 12¤ &nbsp;&nbsp;


Je te signales que tu as déclaré un charset en ISO-8859-1
hors le signe euro n'y existe pô !

Non Orvaltais : 12 &euro;

ou alors passe en : ISO-8859-15

[...]
>> et donc ... que fôt-il additionner ?
>>>> La colonne Prix quand elles est complétée par l'Adhérent.


.... le JavaScript ne connaît pas les colonnes de tables ... :-(

>>>> (Prix du 1er Trimestre, 2 lignes éventuellement)
>>>> ( Prix du second trimestre, 2 lignes éventuellement)
>>>> (Prix du 3ème trimestre, 2 lignes éventuellement)
>>>> Prix de l'Adhésion, 1 ligne,
>>>> Donc le total des 7 lignes de prix.


Donc le total des champs de texte dont les noms contiendraient 'prix'
par exemple, et avec chaque champ qui ait un nom différent des autres ce
serait mieux (pour quand tu recevras le résultat du formulaire).

>> (si on pouvait purger les font blabla on y verrait déjà un peu mieux)
>>>> A part en créant un fichier CSS, je fais comment pour donner la même
>>>> couleur des titres dans chaque cellule ?


En créant une feuille de style en CSS

voir :
http://stephane.moriaux.perso.wanado...ruc/gloops_asm

--
Stephane Moriaux et son (moins) vieux Mac déjà dépassé
  Réponse avec citation
Vieux 30/04/2007, 12h59   #16
ASM
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Addition en JavaScript

Schmol 44 a écrit :
> ASM a utilisé son clavier pour écrire :
>> Schmol 44 a écrit :

[...]
>>> <BODY BGCOLOR="#FFFFFF" TEXT="#000000">


Ha ! Ben ?
Et le form ?
Où est la balise 'form' ?
Sans form on ne peut rien faire ...
(ou alors pas propre du tout !)

>>> <table align="center" width="100%" border="2"
>>> Bordercolorlight="#00AA00" Bordercolordark="#00AA00" BGCOLOR="#ccffff">
>>> <tr>
>>> <td colspan="" Align="center">
>>> <font color ="#770000">

[...]
>> He ben ! On va finir par le savoir que la couleur est 700 :-)
>>
>>>> C'est parce que j'ai fait du "copier/coller", mais je supprimerais
>>>> tout ça ;-)


J'asperge (à la mayo) !

[...]
>>> <FONT FACE="Comic Sans MS" SIZE="2" COLOR="#770000">
>>> </B><Input style="" length="30" Name="durée">
>>> <Input style="" length="30" Name="durée">
>>> </td>

>>
>> ça ne te gène pas d'avoir 2 fois la même chose ?
>>
>> Non, car sur le Tableau, j'ai besoin de 2 lignes semblables pour que
>> l'on puisse inscrire une durée en heure qui ne s'additionnera pas.


Semblables, pourquoi pas, mais certainement pas clonées !
Comment veux-tu t'y reconnaître ?
Comment veux-tu que le JS s'y retrouve ?

[...]
>>> Non Orvaltais : 12¤ &nbsp;&nbsp;


Je te signales que tu as déclaré un charset en ISO-8859-1
hors le signe euro n'y existe pô !

Non Orvaltais : 12 &euro;

ou alors passe en : ISO-8859-15

[...]
>> et donc ... que fôt-il additionner ?
>>>> La colonne Prix quand elles est complétée par l'Adhérent.


.... le JavaScript ne connaît pas les colonnes de tables ... :-(

>>>> (Prix du 1er