ใน JavaScript เรียก printer dialog ด้วย function print()
ต่างจากภาษาอื่น print() ใน JS ไม่ได้พิมพ์ข้อความใน console (ใช้ console.log() แทน)
ดูตัวอย่างปฏิบัติ ที่นี่
ใน JavaScript เรียก printer dialog ด้วย function print()
ต่างจากภาษาอื่น print() ใน JS ไม่ได้พิมพ์ข้อความใน console (ใช้ console.log() แทน)
ดูตัวอย่างปฏิบัติ ที่นี่