从字符串运行HTML和JavaScript

i would like to render a string which contains html and javascript. Its neccessary that the Javascript is interpreted like jQuerys $.load() does - but without jQuery.

Here is an example of what i try to do: https://jsfiddle.net/4tfcypq6/

Vue.js用作前端框架

评论