Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(navigator.userAgent.match(/(iPhone|iPad|iPod|Android)/)){
- var print_button = '';
- } else {
- // PC用に印刷ボタン
- var print_button = '<button onclick="window.print();" class="p-print">印刷する</button>';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement