Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi, i have as custom Control where i load the jquery libthat works if i on the base path of the document. but when i go deper folder it won't be load my jquery lib.how can i get the curent base path in my custom control?
for example if i have the root pathlocalhost/umbracoit worksbut localhost/umbraco/folder1/folder2/don't workUse Umbraco 7.1,Webforms
dont you have like a masterpage - couldn't you just load the js files on there?
Sounds to me like you need to reference your jQuery library as an absolute path. Something like the following. Note the url starting with a forward slash.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted