user1084319
user1084319

Reputation: 299

Does ResolveUrl work for ../../ as well?

I wanted to know, would ResolveUrl only work if you do ../ or / or will it also work for ../../ ?

so for examples im using ResolveUrl when using external javascript files

<script src="../../js/Plugins/jquery.contextmenu.js" type="text/javascript"></script>  

I replaced all my scrips tags that only have ../ with ResolveUrl and it seems to work.Will it also work for the code above?

Upvotes: 0

Views: 110

Answers (1)

Raul Rene
Raul Rene

Reputation: 10280

Yes, it will work for that too, but I suggest using some context paths rather than having a large number of ../.

Upvotes: 1

Related Questions