SaveAs function

Hi, i have a question:

in HTML, I have div id tag named “space”. In other div tag is button with SaveAs function (javascript).
What happens is that it saves complete page with no css and i need to save only what is in div id=“space”.
I would like to have options to save it as html and jpg

Any help?
Thx… :slight_smile:

JavaScript doesn’t have a SaveAs function.