Skip to content Skip to sidebar Skip to footer

Embed Javascript File In Html

I am designing a designer in html. I am drawing widgets on canvas and then on save button click canvas is downloaded as html page on user PC. But problem is that widgets that i am

Solution 1:

You can copy and paste these JavaScript files' content in a script block and remove their references. For example, change:

<scriptsrc="external.js"></script>

to:

<script>// copy and paste the content of external.js here</script>

Do this to all the JavaScript dependencies.

Post a Comment for "Embed Javascript File In Html"