why would you not use # to select an element by id? It is so much faster than an attribute selector.
Also do you have more than one element with the same id?
Have you debugged to see where the code fails?
Manju R Sankar
Joined: Mar 14, 2012
I placed Id just for an example..Instead of Id i used user-defined attribute... like<span FW="CONTAINER_TYPE">
i did not have more than one attribute with same Id...
I have more than one attribute with same user-defined attribute... <span class="adsblockElement adsflLeft adscursorPointer adspieGraphSelect" FW="CONTAINER_TYPE" TYPE="PIE" ></span>
<span class="adsblockElement adsflLeft adscursorPointer adsbarGraph" FW="CONTAINER_TYPE" TYPE="BAR" ></span>
It is working fine for selecting items with one selector.
But when we use two selectors($(th).find("span[FW='CONTAINER_TYPE'][CLASS$='enableBtn']")) to select an item it does not works in IE7
While IE7 should not have tripped up like that, it'd behoove you to follow conventions and use all lowercase for attribute names and the like, and to follow the other conventions I mentioned previously.