I tried to get this to validate but what is the proper way to comment out script
I tried this but it does not seem to comment out the script
<!–<script type=“text/javascript”>–>
<!–
Your script
–>
<!–</script> –>
I tried to get this to validate but what is the proper way to comment out script
I tried this but it does not seem to comment out the script
<!–<script type=“text/javascript”>–>
<!–
Your script
–>
<!–</script> –>
From within the script block…
/* A block comment
asdf
asdf
asdf
*/
// Single line comment
So it should be:
<script type=“text/javascript”>
/* Your script */
</script>
and not
<!–<script type=“text/javascript”>–>
<!–
Your script
–>
<!–</script> –>
That’ll do
Yes that did the trick