Hi,
I'm newcomer to jQuery and I have a question regarding this:
somewhere in my html code
<div class='popup-header'>
<div><a .... class='remove'>remove this</a></div>
<...other div encapsulated in this popup-header div...
</div>
other div with class popup-header
when I launch :
$('.popup-header').each(function(item) {
var myCurrentRemove = $(this).children('.remove');
actions on myCurrentRemove ...
})
then myCurrentRemove is empty...
For sure I missed somthing about traversing node ...
Do you know why it doesn't work ?
Thanks