By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,576 Members | 1,360 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,576 IT Pros & Developers. It's quick & easy.

How to get root url in an ajax call

P: 1
I need to get the "root url" for an Ajax call in my html file

Expand|Select|Wrap|Line Numbers
  1. $.ajax({
  2. type: "GET",
  3. url: "json.php",
  4. data: "url=" + "[root url?]" + "myxml.xml",
  5. });
Oct 27 '11 #1
Share this Question
Share on Google+
1 Reply


100+
P: 1,059
your root url does not make sense right now.........

explain more
Oct 28 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.