In php I wrote this:
<?php include "file.php" ?>
Inside html file, I wrote this:
<script src='file.js'></script>
Now, I'm working with a js file.
Inside this js file, I want to include html file like this.
<script>
code to include html file here
code to include html file here
code to include html file here
code to include html file here
code to include html file here
code to include html file here
code to include html file here
</script>
Thanks a lot.