Side navigation
#13213 closed bug (notabug)
Opened January 15, 2013 07:03AM UTC
Closed January 15, 2013 12:19PM UTC
Last modified March 26, 2013 04:18PM UTC
.live error
Reported by: | gafani@nate.com | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | git |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
include TypeError:$(...).live is not a function
...tp://api.jquery.com/jquery-wp-content/themes/jquery/js/modernizr.custom.2.6.2.mi....
Attachments (0)
Change History (15)
Changed January 15, 2013 11:55AM UTC by comment:1
Changed January 15, 2013 12:19PM UTC by comment:2
resolution: | → notabug |
---|---|
status: | new → closed |
Yes, .live is not in jQuery 1.9 which is being released today. Read the blog post for information.
Changed January 15, 2013 02:55PM UTC by comment:4
Replying to [comment:2 dmethvin]:
Yes, .live is not in jQuery 1.9 which is being released today. Read the blog post for information.
can't find any blog post that has further information. pls post a link!
Changed January 15, 2013 03:08PM UTC by comment:5
Changed January 15, 2013 03:13PM UTC by comment:6
Replying to [comment:5 dmethvin]:
um, http://blog.jquery.com
m( that link doesn't say anything about why .live() has been removed
Changed January 15, 2013 03:17PM UTC by comment:7
Did you read the upgrade guide that is linked several times in that post, and also several times in the beta announcements that came before it?
Changed January 15, 2013 03:31PM UTC by comment:8
Replying to [comment:7 dmethvin]:
Did you read the upgrade guide that is linked several times in that post, and also several times in the beta announcements that came before it?
i did, but it only says that 1.9 no longer attempts to maintain .live() but not why.
Changed January 15, 2013 03:41PM UTC by comment:9
As of jQuery 1.7, the .live() method is deprecated. -- http://api.jquery.com/live/
jQuery 1.7 was released in November 2011, so there's been more than a year of notice. As to why, just read that documentation and you'll see all the disadvantages of .live()
.
If you are not prepared to make changes in the site's code, either don't upgrade to 1.9.0 or use the jQuery Migrate plugin mentioned in the upgrade guide.
Changed January 15, 2013 04:02PM UTC by comment:10
Replying to [comment:9 dmethvin]:
> As of jQuery 1.7, the .live() method is deprecated. -- http://api.jquery.com/live/ jQuery 1.7 was released in November 2011, so there's been more than a year of notice. As to why, just read that documentation and you'll see all the disadvantages of .live()
. If you are not prepared to make changes in the site's code, either don't upgrade to 1.9.0 or use the jQuery Migrate plugin mentioned in the upgrade guide.
ok, that helped. thx.
after looking for the downsides, i found this site
http://www.jquery4u.com/jquery-functions/on-vs-live-review/
which told me everything i wanted to know - including which alternative to use.
Changed January 15, 2013 08:51PM UTC by comment:11
#13220 is a duplicate of this ticket.
Changed March 26, 2013 04:16PM UTC by comment:12
#13668 is a duplicate of this ticket.
Changed March 26, 2013 04:17PM UTC by comment:13
#13301 is a duplicate of this ticket.
Changed March 26, 2013 04:18PM UTC by comment:14
#13266 is a duplicate of this ticket.
Changed March 26, 2013 04:18PM UTC by comment:15
#13257 is a duplicate of this ticket.
Confirmed here, any page loading version 1.9.0 fires this error. Downgrading to 1.8.3 solves the problem. Should be an urgent issue...