In MVC view page javascript file url not resolving
- by Ashwani K
Hello All:
I have one MVC view page in which I show different links and I am using ThickBox to show a different page when ever one of these links is clicked. In these pages, I am using jQuery functions to do some changes, but I am not able to resolve the jquery file path on the view pages. I need to give absolute path something like "http://test.com/js/jquery.js". But is there any way to make it relative?
I also tried getting the host url and using <%=% and <%# % but none is working.
Any help?
Thanks
Ashwani