Skip to main content

Bug Tracker

Side navigation

#13795 closed bug (notabug)

Opened April 19, 2013 06:57PM UTC

Closed April 19, 2013 07:40PM UTC

.slideToggle() on .contents() throws error

Reported by: flipvrijn@gmail.com Owned by: flipvrijn@gmail.com
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:
Description

Version: jQuery 1.9.1

Browser: Chrome 26.0.1410.63

OS: Mac OS 10.7.5

Demo: http://jsfiddle.net/nzyM8/

What I tried to do:

I tried to slide toggle the contents of a fieldset using slideToggle() on .contents().

Step-by-step instruction:

1. Open the demo

2. Click on the legend in the fieldset

What I expected:

The contents of the fieldset would slide toggle

What actually happened:

I received the following error: "Uncaught TypeError: Cannot set property 'cur' of undefined " at line 3888.

Attachments (0)
Change History (3)

Changed April 19, 2013 07:03PM UTC by dmethvin comment:1

owner: → flipvrijn@gmail.com
status: newpending

Did you mean this? http://jsfiddle.net/nzyM8/1/

Using .contents() there is really strange.

Changed April 19, 2013 07:05PM UTC by anonymous comment:2

Hmm, indeed that's the effect I wanted to create. Better use siblings then...

Changed April 19, 2013 07:40PM UTC by dmethvin comment:3

resolution: → notabug
status: pendingclosed