Bug Tracker

Opened 10 years ago

Closed 10 years ago

#6654 closed bug (worksforme)

Form inside Div prevented Div from being selected.

Reported by: therubble Owned by:
Priority: Milestone: 1.4.3
Component: selector Version: 1.4.2
Keywords: id selector form Cc:
Blocked by: Blocking:

Description

I was trying to hide a div with and id of 'collection' using the following selector:

$('#collection').hide();

The div had a form inside of it that was preventing the selector from returning anything in internet explorer 8. All other browsers performed as expected.

Attachments (1)

div.txt (2.9 KB) - added by therubble 10 years ago.
Sample of code that caused the issue.

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by therubble

Attachment: div.txt added

Sample of code that caused the issue.

comment:1 Changed 10 years ago by dmethvin

Resolution: worksforme
Status: newclosed

Worked fine for me, I put your html in a page and $('#collection').length returned 1. Hide worked as well. If you're still having trouble, ask in the forum before creating a ticket.

Note: See TracTickets for help on using tickets.