Printing contents of another page

后端 未结 6 1414
执笔经年
执笔经年 2021-01-02 04:15

In the following link

Print\"


        
6条回答
  •  别那么骄傲
    2021-01-02 05:15

    Think about the security/embarrassment issues that would exist if this was possible. Thankfully, browsers won't allow you to do that.

    The closest you can get is fetching the page via AJAX, replacing the current DOM with the new page, and printing with JS's normal print() method.

提交回复
热议问题