I'm trying to create a popup using the Fancybox plugin I'll explain the components:
- Delivery details form in a separate element with an id of #deliverydetails
- Checkbox with an id of sameAsCheckbox
Now I want the deliverydetails form to popup in a fancybox iFrame when the checkbox is unchecked. Any help would be appreciated!
$(function () {
    $("#sameAsCheckbox").click(function () {
        if ($(this).is(':unchecked')) $('#deliverydetails').fancybox('');
    });
});
Thanks!
 
     
     
    