Fancybox is not a function

前端 未结 8 720
北海茫月
北海茫月 2020-12-16 10:40

Hello I am using the jQuery plugin fancybox to display bing maps when somebody enters an address into a textbox and hits the submit button beside it. And a fancybox is loade

8条回答
  •  伪装坚强ぢ
    2020-12-16 11:16

    If "fancybox" as a function does not exist, it is likely that either the jQuery source or the plugin source are failing to load into your page. Make sure that the pathing, file names, and extension are all correct.

    EDIT: Make sure that you link to jQuery Source before you link to any plugins. If a plugin is loaded into your HTML before jQuery is, the plugin fails.

提交回复
热议问题