【发布时间】:2011-01-21 04:41:27
【问题描述】:
所以我说的是 Asp.net mvc2 应用程序中的链接,其中您有一个站点管理员。
特别是,我的 Site.Master 引用了 jQuery,如下所示:
<head runat="server">
<title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>
<script type="text/javascript" src="../../Scripts/jquery-1.4.1.js"></script>
但是你看,正如我刚刚注意到的那样,这个 obv 是行不通的,例如
http://localhost:xxxx/this/no/longer/refs/correct/spot
无论页面嵌套程度如何,如何引用正确的文件夹?
干杯
【问题讨论】:
标签: jquery asp.net-mvc-2 reference hyperlink master-pages