I have the following code:
<div id="test">
  <div class="ajaxApplyIgnore">
       <span><a href="javascript:ajaxApplyAll();" class="">Test1</a></
span>
  </div>
  <div>
    <span><a href="/Logout" class="">Logout</a></span>
   </div>
</div>


<script>
var obj = $('test'); // used specific div, as this is in a huge
document
obj.find('.ajaxApplyIgnore a').addClass('red');
</script>

The js code above will not select the Test1 link, even though it is
found within the div layer with the ajaxApplyIgnore class. It seems
that the selector does not work recursively.

Does anybody know how to make the script work recursively this?

NOTE: I am using Safari 3.

Reply via email to