Uncaught reference error lift ajax is not defined

后端 未结 2 1864
盖世英雄少女心
盖世英雄少女心 2021-01-16 08:17

I\'m trying to create a Lift chat server. I\'ve taken everything straight from the Lift book that is linked to from Lift\'s main website. Upon running it, I cannot submit my

2条回答
  •  孤城傲影
    2021-01-16 08:51

    You don't need to manually include the liftAjax function, but you do need to include jquery manually. Lift will not automatically inject a reference to it since it doesn't know what version, minification level, or location you want to use. Try adding:

    
    

    To the head section of your template.

提交回复
热议问题