$$HTMLHead

Hi,

I am putting following code in $$HTMLHead field

“<script src="/” + DBPath + “/Menu.js">” + @NewLine +

but i dont know why i am using "/" so many times can anybody explain me ! what is the reason for using !

or can anybody explain me somewhat this rules… how we can put that !!1

dev

Subject: $$HTMLHead

Hi,

This is your code “<script src="/” + DBPath + “/Menu.js">” + @NewLine.

In your code since the second " you are using as data you are preceding with \

This is the same case where you used \ infront of " at "Menu.js">.

I hope this is clear for you.

Subject: $$HTMLHead

The “<script src="/” + DBPath + “/Menu.js">” + @NewLine becomes

You have so " to tell the system you want not see that as the end of the quoted string but should be output as a literial quote.

Here is a tip for you, you don’t need to use quotes for strings. You can use | (instead of ") or { and }

I like to use { } when working with text that will contain quotes as I find it’s easier to see the starting and stopping of the text string. So you could have written the above like this:

{} + @NewLine

IMO a little easier to read.