Saving values from HTMLview

This example is in the help section:

HTMLview1.innerHTML="<a href='http://www.newfangled.com/site/images/pdftest.pdf' download>Download test pdf!</a>"

But it doesn’t work, or rather, I can’t find the file locally.

Background: I want to save the correctly loaded content and then close the HTMLview.

Second Question:

<svg width='100' height='100'>
  <circle cx='50' cy='50' r='40' stroke='green' stroke-width='4' fill='yellow' />
</svg>

Where would I enter that in HTMLview?

Are you thinking you can open an external document in an HTMLview, then use the data from it in your code?

This gets stopped by browsers. Otherwise, it would be easy for bad actors to open other people’s sites and scrape the data for their own use.

As for the svg code, if it’s valid HTML, use a Container control. Put your code into the content property.