Bug Tracker

Modify

Ticket #6654 (closed bug: worksforme)

Opened 3 years ago

Last modified 3 years ago

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:
Blocking: Blocked by:

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

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

Change History

Changed 3 years ago by therubble

Sample of code that caused the issue.

comment:1 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to worksforme

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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.