When you write your scripts, you may sometimes bundle them together, and this may cause your script tags to become nested, which is not allowed.
Issue Details
When you write your scripts, you may sometimes list them all on a single page to better handle them. This can cause issues, especially if you forget to include a beginning and ending script tag. This will cause the following error:
Active Server Pages error 'ASP 0138' Nested Script Block /Functions.asp, line 23 A script block cannot be placed inside another script block.
<script>
your code here #1
// Add additional scripts below each
your code here #2
// Add additional scripts below each
your code here #3
// Add additional scripts below each
your code here #4
</script>
As you can see, we have our beginning and ending script tags. We are also listing several scripts within the tags. This is allowed and can make your code more readable and help load scripts faster.