July 2009 - Posts

7
Comments

ResolveUrl in Javascript by joelvarty

This is something that is super easy, yet I get asked about it quite often. Here’s how you do it: In the master page for the site, put this: < script type ="text/javascript" > var baseUrl = "<%= ResolveUrl(" ~/ ") %>"...
Filed under: ,
More Posts