Quote:
Originally Posted by salesman
Really?
If I placed /* at the top of a script, everything appears to be commented out in the script window (serverside AND clientside)...but I haven't tested if the clientside portion still works.
I know that // comments out the entire line, but it doesn't change the fact that the block comment appeared to be closed but in fact wasn't
|
Yes, in the script window the syntax highlighting will show that the whole script is commented out, but that's because it's just syntax highlighting. It doesn't really have anything to do with the script itself.
As a good rule of thumb I usually start a line like
HTML Code:
/*
Comments here.
*/
So each one gets their own line.