• Как выбрать только "text text1" в elems, без "text text1 text2"?

    @polm Автор вопроса
    На всякий случай напишу тут, как разобрался со своей задачкой с помощью jQuery.
    Нужно было сделать выборку примерно из такого:
    <div class="text text1 text2 text3 text4" nat="1" top_left="" style="top: ; left: -; width: ; height: ;" nature="11">
    <div class="text text1 text2 text3" cupi="256" tipo="uno" tipo_z="2" style="width: ; height: ; top:  left: ;">
    <div class="munya"></div></div></div>
    <div class="text text1 text2 text3 text4" nat="1" top_left="" style="top: ; left: ; width: ; height: ;" nature="11">
    <div class="text text1 text2 text3" cupi="256" tipo="nano" tipo_z="2" style="width: ; height: ; top: ; left: ;">
    <div class="munya"></div></div></div>
    <div class="text text1 text2 text3" nat="1" top_left="" style="top: ; left: -; width: ; height: ;" nature="11">
    <div class="text text1 text2 text3 text4" cupi="256" tipo="uno" tipo_z="2" style="width: ; height: ; top:  left: ;">
    <div class="munya"></div></div></div>
    <div class="text text1 text2 text3" nat="1" top_left="" style="top: ; left: ; width: ; height: ;" nature="11">
    <div class="text text1 text2 text3 text4" cupi="256" tipo="nano" tipo_z="2" style="width: ; height: ; top: ; left: ;">
    <div class="munya"></div></div></div>

    Выбрать было нужно классы: text text1 text2 text3 но без text4 и что бы tipo="uno".
    Решение нашлось такое jQuery:
    var elem=$('[tipo="uno"]').not('.text4');
        elem.each(function(){ 
           	console.log( $(this));
    }

    Всем помогавшим, большое спасибо!
    Ответ написан
    Комментировать