javascript - jQuery PrintArea prints blank page -


i want print form using jquery print area, custom stylesheet, , javascript code. actual site's page is:

http://dev.radioimagendigital.com/orden-de-servicio/ 

and button calls print area action "imprimir", css file passed parameter printarea plugin is:

http://dev.radioimagendigital.com/wp-content/themes/stability/print1.css 

and actual javascript code is:

jquery("div.b1").click(function(){     var print = "";     jquery("input.selpa:checked").each(function(){         print += (print.length > 0 ? "," : "") + ".content_orden_servicio" + jquery(this).val();     });        var template_uri = '<?php echo get_template_directory_uri(); ?>';      jquery(".content_orden_servicio").printarea({         mode       : "iframe",         standard   : "html5",         retainattr : ["id","class"],         printdelay : 500,         printalert : true,         extracss   : 'http://dev.radioimagendigital.com/wp-content/themes/stability/print1.css'     }); }); 

as try print form, got blank page. why that? , how can solve issue?

any appreciated.

thanks lot

it css issue overall, somehow css managed hide printer in chrome, solve created new iframe content , css rules wanted print , called jquery print area it.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -