How to implement these using javascript.

Printable View