Bonjour,

je dois modifier un script écrit par mon prédécesseur, et je n'en comprends pas la moitié, ce qui limite mes possibilités... Peux-être pourrez-vous m'aider...

Voici comment ça commence :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
    <script type="text/javascript">
            var startWith = "ctl00_CPH_Cop_";
 
            $(document).ready(function() 
            {
                CalculTotaux();
                $("input[ID^=" + startWith + "]").change(function(event) { CalculTotaux(); });
            });
            function CalculTotaux() 
            {
                $("td[ID^=" + startWith + "]").html('0');
 
                $("input[ID$=_Value]").each(function() 
                {
Je ne sais pas ce que font :
$("td[ID^=" + startWith + "]")
et
$("input[ID$=_Value]")

Pouvez-vous m'aider, s'il-vous-plait ?

Merci d'avance !