jquery 1.9.0 live function?

后端 未结 4 1200
迷失自我
迷失自我 2020-12-06 05:56

There is no live() function in jquery 1.9.0, but jquery.unobtrusive.ajax.js is already use this function.

Should I us

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-06 06:22

    live() has been deprecated in the latest jQuery versions but Microsoft mantains updated unobtrusive scripts as NuGet packages that overwrite the default ones:

    • Microsoft.JQuery.Unobtrusive.Ajax
    • Microsoft.JQuery.Unobtrusive.Validation

提交回复
热议问题