Skip to main content

Bug Tracker

Side navigation

#10805 closed bug (invalid)

Opened November 16, 2011 04:04PM UTC

Closed November 16, 2011 04:05PM UTC

Last modified November 16, 2011 04:40PM UTC

expand the method of Object's prototype, animate can not work in IE

Reported by: windnetv@sina.com Owned by:
Priority: low Milestone: None
Component: effects Version: 1.7
Keywords: Cc:
Blocked by: Blocking:
Description

Ex:

Object.prototype.method = function() {};

$("#div").animate({top:"500px"},1000);

why the #div can't move in the IE?

$().animate can't work.

Attachments (0)
Change History (2)

Changed November 16, 2011 04:05PM UTC by timmywil comment:1

component: unfiledeffects
priority: undecidedlow
resolution: → invalid
status: newclosed

jQuery does not support extending native prototypes.

Changed November 16, 2011 04:40PM UTC by rwaldron comment:2