Side navigation
#1018 closed bug (duplicate)
Opened March 02, 2007 06:29PM UTC
Closed March 24, 2007 06:06PM UTC
Last modified June 21, 2007 05:12AM UTC
IE error in complex selector
Reported by: | aichinge | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.1.3 |
Component: | core | Version: | 1.1.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I have selector like this '.EnFormActive//#en_form_23 td' The html code is:
<div class="EnFormPassive">
<fieldset>
<fieldset>
<legend>legend</legend>
...
</fieldset>
<fieldset>
<legend>bbb</legend>
<div class="formLine"></div>
<table id="pusobnost_tab_en">
<thead>
<tr>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr id="en_form_23">
<td></td>
<td></td>
<td><a id="editFOALinkEn_23" href="#">xxx</a></td>
</tr>
</tbody>
</table>
</fieldset>
</div>
I use jQuery to swith main div class between EnFormPassive and EnFormActive. So I want to know how many td's are selected. When is passive and I use the selector abowe, IE tells me about error "getElementById is null or is not object". FireFox works fine and return 0;
Replying to [ticket:1018 aichinge]:
>
In IE works fine:
$('.EnFormActive').find('#en_form_23')
but not in FF :-)