Hi!I'm trying to insert <script> and </script> tags into a string this way:
<script>
funtion myFunction(){
str = "<html><head><title>...</title><script>..</script>....."
}
</script>
But I get an error because <script> and </script> are not recognized like part of the string.
How can I solve this?
<script>
funtion myFunction(){
str = "<html><head><title>...</title><script>..</script>....."
}
</script>
But I get an error because <script> and </script> are not recognized like part of the string.
How can I solve this?