Side navigation
#6224 closed bug (invalid)
Opened March 04, 2010 06:37PM UTC
Closed November 20, 2010 09:45PM UTC
Last modified March 15, 2012 10:57AM UTC
Animating display and opacity with "toggle" causes "Invalid argument" error in IE8
Reported by: | hughbiquitous | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | |
Component: | effects | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The attached file is resulting in the following error when I click on "Tab 2" in IE8. Firefox and Chrome work fine.
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)
Timestamp: Thu, 4 Mar 2010 18:35:42 UTC
Message: Could not get the display property. Invalid argument.
Line: 5899
Char: 5
Code: 0
Attachments (1)
Change History (3)
Changed March 04, 2010 06:40PM UTC by comment:1
Changed November 12, 2010 02:40AM UTC by comment:2
milestone: | 1.4.3 |
---|
Resetting milestone to future.
Changed November 20, 2010 09:45PM UTC by comment:3
priority: | → undecided |
---|---|
resolution: | → invalid |
status: | new → closed |
Thanks for the report, but this is not a jQuery bug. As the documentation states, you cannot animate non-numeric properties with the default $.fn.animate
function. If you want to toggle an element with a fade, use the $.fn.fadeToggle
function instead.
Forgot to mention that it looks like it's trying to set the "display" property to "0px".