$(...). Live is not function

Source: Internet
Author: User

A plug-in was introduced into the project, but the call was reported as $ (...). Live is not function

Internet search on the live method in 1.9 was deleted, because usually their own use on the method, no use live, so this is not familiar. On the Code

Original code:

$ ("Li.select", _self). Live ("mouseover",function() {                    $ (this). Find ("div"). Show (). Animate ({"opacity": O Ptions.setTitle.opacity},100);                    $ (this). Find ("B"). Show (). Delay (+). Stop (). Animate ({"Height": textHeight, "opacity": O ptions.settitle.opacity},150);                     return false ;                })

After the change

    $ ("Li.select", _self).  on ("mouseover",function() {                    $ (this). Find ("div"). Show (). Animate ({"opacity": O Ptions.setTitle.opacity},100);                    $ (this). Find ("B"). Show (). Delay (+). Stop (). Animate ({"Height": textHeight, "opacity": O ptions.settitle.opacity},150);                     return false ;                })

The corresponding 1.9 of the removed methods are here yo http://jquery.com/upgrade-guide/1.9/#live-removed

$(...). Live is not function

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.