Side navigation
#1548 closed bug (invalid)
Opened August 29, 2007 07:17AM UTC
Closed August 30, 2007 10:30PM UTC
Last modified March 15, 2012 04:52PM UTC
select by classname error
Reported by: | pharaoh | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.2 |
Component: | core | Version: | 1.1.4 |
Keywords: | classname | Cc: | |
Blocked by: | Blocking: |
Description
This is correct,the 3 div color is red.
<div class="ac">aaaa bbb<div> <div class="a c">aaaa bbb<div> <div class="a b">aaaa bbb<div> <script> $(function(){ $('.a').filter('.b').css("color","red"); }); </script>
but i chang div sequence.
This will has a error.the 2&3 div color is red.
<div class="ac">aaaa bbb<div> <div class="a b">aaaa bbb<div> <div class="a c">aaaa bbb<div>
i chang div sequence again.
This will has a error.the all div color is red.
<div class="a b">aaaa bbb<div> <div class="ac">aaaa bbb<div> <div class="a c">aaaa bbb<div>
I use IE6.0
winxp sp2
NO error,I have some thing wrong.