php - error on print by ajax -



php - error on print by ajax -

i have ajax request other page print on printer, when phone call function cannot print page

ajax code :

/******* print a6 ********/ function buttonclickhanlder( e ) { e.preventdefault(); var bills_id = $('#bills_id').val(); $.post("bills/billsprinta6.php", { bills_id: bills_id }, function(data){ //alert("data loaded: " + data); } ); } $(function(){ $('#printa6').click(buttonclickhanlder); }); /***************/

i presume when go print info isn't loaded. you'll need have ajax fire before send printer.

php ajax

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -