Specifying content of an iframe instead of the src attribute to a page

后端 未结 4 572
灰色年华
灰色年华 2020-11-29 00:06

I\'m currently working on a form which includes some file inputs to upload pictures. There is an onchange() event for those inputs that submits the pictures to

4条回答
  •  情歌与酒
    2020-11-29 00:40

    In combination with what Guffa described, you could use the technique described in Explanation of to store the HTML document in a special script element (see the link for an explanation on how this works). That's a lot easier than storing the HTML document in a string.

提交回复
热议问题