on-internet
← Community

Is it possible to open the content of a textarea in a about:blank?

Stack Overflow ·

I am currently trying to make a print button on my website. Once the print button is clicked it should take the contents of the textarea and open it in a about:blank. <textarea id="icontent" placeholder="Enter your content here." name="mas" rows="15" class="content"> </textarea> <a id="wprint" class="btn">Print</a> Is it possible to do this with only front end.

Comments

Sign in or sign up to comment and upvote.

No comments yet.