我有两页:
一个是http://local.host/orders/list.aspx,第二个是http://local.host/orders/provider/info.aspx
然后我有http://local.host/themes/images/image.jpg
当我使用 jQuery.load() 在第一个页面中加载第二个页面时,图像链接是
“..\themes\images\image.jpg”而不是“..\themes\images\image.jpg”。
我不明白这是因为第二个页面在服务器上运行并且它位于 orders/provider 文件夹中,但是,有没有办法更改计算响应 src 链接的文件夹上下文?
提前致谢。