I am trying to get the id for the drupal shopping cart widget so that I can refer to it within javascript.  When I look at the shopping cart div within firebug (see below) it only lists the class and not the id and I tried referring to the class like it was the id but it was not recognized (i.e. drupal_add_js(&#39;alert(document.getElementById(&quot;panel-pane pane-block pane-uc-cart-0&quot;).value)&#39;,&#39;inline&#39;);<br>
).<br><br>&lt;div class=&quot;panel-pane pane-block pane-uc-cart-0&quot;&gt;<br><br>How can I refer to the shopping cart using document.getElementById if it does not have an id?<br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup">
</div><style type="text/css">#avg_ls_inline_popup {  position:absolute;  z-index:9999;  padding: 0px 0px;  margin-left: 0px;  margin-top: 0px;  width: 240px;  overflow: hidden;  word-wrap: break-word;  color: black;  font-size: 10px;  text-align: left;  line-height: 13px;}</style><br>
-- <br>John J. Mitchell<br>