Loading dynamic AJAX content into Fancybox

前端 未结 9 1415
夕颜
夕颜 2020-12-17 22:47

This scenario:

The user inserts his zip into an input-field, and when clicking the magic button, he gets to see stores closest to his location. I ca

9条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-17 23:40

    If you want to load url as ajax, you have to set type -

    $.fancybox({
      href : nzData,
      type : 'ajax'
    });
    

提交回复
热议问题