开发者

Jquery.ajax access file outside public_html folder

My jquery file is in /public_html/开发者_如何学编程js/jquery.js i want to access a file outside the public_html directory.How to do it?


You can't if the folder you're trying to access isn't available to the web. JavaScript is run on the client side so it can only access what the client can (i.e. if you can't get to it through the browser, you won't be able to get to it using JavaScript/jQuery).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜