Now here's the generated html; <div class="panier" id="panier">
<div class="ligneArticle">
<div class="blocGauche">
<img class="visuelArticle"
src="/images/visuelsArticles/
dim1/209073730002_dim1.jpg" height="60" width="60" />
<span class="libelleArticle"> LECTEUR
DVD BLU-RAY PIONEER
</span>
</div>
<div class="blocDroit">
<span class="prixUnitaire">
49 910
<input type="hidden"
class="prixProduit" name="prix0"
value="49910.0"></input>
<input type="hidden"
name="montantDeLigne0"
value="99820.0"></input>
</span>
<table class="calculette">
<tr>
<td>
<input
type="text" name="quantiteLigneCommande
(8a8b8dbe2060970e0120609947230003)" value="2"
id="8a8b8dbe2060970e0120609947230003" class="quantite">
</td>
<td>
<img
class="plus" src="/images/quantiteIncrement.gif"
alt="Plus" />
</td>
<td>
<img
class="moins" src="/images/quantiteDecrement.gif"
alt="Moins" />
</td>
</tr>
</table>
<div
id="montantDeLigneAfficher0" class="prixTotal">
99 820
</div>
</div>
<div class="clear"></div>
</div>
<div class="clear"></div>
<div class="ligneArticle">
<div class="blocGauche">
<img class="visuelArticle"
src="/images/visuelsArticles/
dim1/209073600003_dim1.jpg" height="60" width="60" />
<span class="libelleArticle"> SMOOTHIES
MAKER BLENDER PHILIPS
</span>
</div>
<div class="blocDroit">
<span class="prixUnitaire">
7 460
<input type="hidden"
class="prixProduit" name="prix1"
value="7460.0"></input>
<input type="hidden"
name="montantDeLigne1"
value="7460.0"></input>
</span>
<table class="calculette">
<tr>
<td>
<input
type="text" name="quantiteLigneCommande
(8a8b8dbe2060970e0120609aa3480004)" value="1"
id="8a8b8dbe2060970e0120609aa3480004" class="quantite">
</td>
<td>
<img
class="plus" src="/images/quantiteIncrement.gif"
alt="Plus" />
</td>
<td>
<img
class="moins" src="/images/quantiteDecrement.gif"
alt="Moins" />
</td>
</tr>
</table>
<div
id="montantDeLigneAfficher1" class="prixTotal">
7 460
</div>
</div>
<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
<div class="totalPanier">
<input type="hidden" name="nbLigneCommandes"
value="2"></input>
<div class="naviguationCommande">
<input type="button" class="retour"
value="Continuer vos achats"
onclick="javascript:
validerFormulaireContinuerAchats();"></
input>
<input type="button" class="terminer"
value="Terminer votre
commande"
onclick="javascript:
validerFormulaireTerminerCommande();"></
input>
</div>
<h1>Total de votre commande</h1>
<div id="montantTotalCommande">
<span id="montantTotalNumerique">
107 280
</span>
Pts
</div>
<input type="hidden" name="montantTotal"
class="montantTotalOriginal" value="107280.0"></input>
</div>
<input type="hidden" name="typeDeActualierPanier" value="">
</form>
As you can see, each "ligneArticle" contains it's own plus and minus
buttons, as well as it's own <input type="text" class="quantite">.
What I don't get is the $(this).find('> .quantite');
syntax : .quantite is'nt a child of $(this)...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---
