Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter flaresys

    (@flaresys)

    Thanks for your assistance. I followed your guidance to build the library into the template rather than using the plugin, then used the select element’s change() event handler to trigger the click event on the link (which was hidden).

    In case anyone had the same question…

    jQuery(document).ready(function(){
            //initialize fancybox
    	jQuery(".fancybox").fancybox();	
    
            //trigger click event of FancyBox hyperlink (hidden in my case) when SELECT element value changes
    	jQuery(".open_contact_pop select").change(function(){
    		if(jQuery(this).val() != "No"){
    			jQuery("#contact_form_popup_link").trigger('click');
    		}
    	});
    });

    I have the same question. We are allowing customers to upload very large files, and would rather those not be attached to email (a link to the file would be sufficient in that case).

Viewing 2 replies - 1 through 2 (of 2 total)