[development] How can I refer to the shopping cart using
khzmusik at hotmail.com
Fri Jan 28 20:42:42 UTC 2011
> How can I refer to the shopping cart using document.getElementById if it
> does not have an id?
This is where jQuery is your friend:
...will get the value of the FIRST element with the pane-uc-cart-0 class.
FYI, class names in Drupal are usually added left-to-right, from least-specific to most-specific. So, the last class is the one that is the most specific to that particular element.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the development