Reputation: 299
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
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