Simple problem (I think)... I am new to JS and ajax.
I am building an ajax capability on a clients site. I am running into cross domain problems. If I get the page using the url form http://www.site.com but I do a load using the url form "http://site.com" (www vs. no www in the url) I get nothing but a js error. What is the best way to handle making sure that if the person is at the site with OR without the "www" in the url that the .load will still work?