how to create a print modal using javascript, jquery etc
问题 let say i have a print button on couple of pages and whenever user click . it will pop up the content in a modal and can print from there.Any idea will be appreciated. I have couple of page with a print button . when user click it need to pul that content in a modal and than print from that modal. 回答1: I can't write the code for you right now but I can put you on the right track.. You need to use jquery to get the contents you want to print (likely $('body').html(); ) then create your modal