Skip to main content

Bug Tracker

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;

Attachments (0)
Change History (3)

Changed March 02, 2007 06:34PM UTC by aichinge comment:1

Replying to [ticket:1018 aichinge]:

I have selector like this '.EnFormActive//#en_form_23 td' The html code is:

>

In IE works fine:

$('.EnFormActive').find('#en_form_23')

but not in FF :-)

Changed March 02, 2007 06:37PM UTC by aichinge comment:2

In the last note there is a mistake, in FF it works fine too.

Changed March 24, 2007 06:06PM UTC by john comment:3

milestone: → 1.1.3
need: → Review
resolution: → duplicate
status: newclosed

I'm fairly certain that this is a duplicate of #986; which was just resolved. Please correct me if I'm wrong.