0

I am using jquery version 1.3.2 , I just want to know what is the equivalent of "on" in 1.3.2. I have used live but it giving the error

Error Code: 5272 Message: 'this.chartLoad' Type: Javascript Error Description: Cannot read property 'guid' of undefined LineNumber: 0 Url: appears in firebug .

I want to use on equivalent because my current jquery version is 1.3.2 so what function can i use instead of on

please help...................

4

1 回答 1

0

使用.bind()方法。根据文档,从 jQuery 1.7 开始,该.on()方法是将事件处理程序附加到文档的首选方法。对于早期版本,该.bind()方法用于将事件处理程序直接附加到元素。

于 2013-09-26T08:25:29.353 回答