I'm trying this to get the id
of each element in a class
but instead its alerting each name of the class separately, so for class="test"
its alerting: t
, e
, s
, t
... Any advice on how to get the each element id
that is part of the class
is appreciate as I can't seem to figure this out.. thanks
$.each('test', function() {
alert(this)
});