TypeError: e[h] is not a function

后端 未结 6 1015
说谎
说谎 2020-12-28 18:20

I\'ve been using jquery 1.6 with no problem. Today I switched to jquery 1.8 and suddenly I am getting this error when trying to submit a form:

TypeError: e[h         


        
6条回答
  •  南方客
    南方客 (楼主)
    2020-12-28 18:42

    With jQuery 1.7 (possibly above too) if you have the name property also called submit it will break.

    E.g.

    Will not work, however:

    Is fine.

提交回复
热议问题