Bonjour
J'ai la vue ci-dessous et je voudrais déclencher un postback lorsque le radiobutton est coché (SelectedIndexChanged) et mettre à jour le prix.
- J’ai 3 groupes de redioBouton : ACHAT OU LOCATION , FORMAT ET QUALITE et LANGUES.
Donc je dois mettre à jour le prix lorsque je sélectionne un mode d’achat, un format et une langue.
Avez-vous une solution. ?
Merci.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28 <form class="form-achat"> <div class="encart-achat"> <p class="titel"> ACHAT OU LOCATION</p> <input type="radio" name="ACHAT OU LOCATION" value="achat" id="achat" checked="checked" class="radio" /> <label for="achat" class="texte">Model.Achat</label> <input type="radio" name="ACHAT OU LOCATION" value="location" id="location" checked="checked" class="radio" /> <label for="location" class="texte">Model.Location</label> </div> <div class="encart-achat"> <p class="titel"> FORMA ET QUALITE</p> <input type="radio" name="FORMA ET QUALITE" value="haute-definition" id="haute-definition" checked="checked" class="radio" /> <label for="haute-definition" class="texte">Model.HauteDefinition</label> <input type="radio" name="FORMA ET QUALITE" value="streaming" id="streaming" checked="checked" class="radio" /> <label for="streaming" class="texte">Model.Streaming</label> </div> <div class="encart-achat"> <p class="titel"> LANGUES</p> <input type="radio" name="LANGUES" value="version-francaise" id="version-francaise" checked="checked" class="radio" /> <label for="version-francaise" class="texte">Model.francaise</label> <input type="radio" name="LANGUES" value="version-original" id="version-original" checked="checked" class="radio" /> <label for="version-original" class="texte">Model.Original</label> </div> </form> <div id= "price">Model.Price</div>
Partager