¡@

Home 

2014/10/16 ¤W¤È 12:08:48

jquery Programming Glossary: span.sizedropdown

Choosing and activating the right controls on an AJAX-driven site

http://stackoverflow.com/questions/15048223/choosing-and-activating-the-right-controls-on-an-ajax-driven-site

tools container div#PDPBuyingTools.buying tools gadget form.add to cart form div.product selections div.size quantity span.sizeDropdown a.selectBox Which we can pare down to div.footwear form.add to cart form span.sizeDropdown a.size dropdown for a reasonable.. div.size quantity span.sizeDropdown a.selectBox Which we can pare down to div.footwear form.add to cart form span.sizeDropdown a.size dropdown for a reasonable selector that's likely to survive trivial page changes and unlikely to trigger on unwanted.. similar process for the other 4 key nodes we obtain CSS jQuery selectors of Node 1 div.footwear form.add to cart form span.sizeDropdown a.size dropdown Node 2 ul.selectBox dropdown menu li a contains '10' But this will need an additional check Node 3 div.footwear..