The previous time in the online copy of a JS effect, you need to refer to jquery 1.9.1.min.js, the previous project was referring to the jquery 1.5.1.min.js
And then found that some dynamically generated elements in the code useful to live methods are all invalid, debugging found JS error: uncaught TypeError: $ (...). Live is not a function
Online A check originally is Query 1.9 than the previous version made a lot of adjustments, many functions are not supported
The live () method has been invalidated and needs to be changed to the following mode
$ (' #id '). On ("click", Function () {
Alert ("Www.51byl.net"); Alert ("I want to graduate essay Net");
});
Change to the following:
$ (document). On ("click", "#id", function () {
Alert ("www.bqlww.com"); Alert ("The paper network of the North Qing");
});
Small ads, thank you for your support
"The paper net of the North Qing Dynasty" "I want to graduate thesis net"
Js.live method Invalid, error: uncaught TypeError: $ (...). Live is not a function