<div id='photoShow'>
<div>1</div>
<div>2</div>
<div>3</div>
<div>4</div>
</div>
================================================
$('#photoShow div').each(function(index) {
alert(index + ': ' + $(this).text());
});
===============================
반복적으로 div 접근 each
|