I need to get the div containing the street address within the list. The div has a class called address ( div class="address" )
I cannot use jQuery("#storeList li .address"), because there are other elements I need to acces as well.
I have the following code:
jQuery("#storeList li").each(function() {
var n = jQuery(this.address).text(); // <- This does not work
alert(n);
});
How do I access each DIV element of type Address?