I'm developing a website and the forms rely on jQuery $.ajax which will post the data and then send back a result.
But I have a problem.
If I access the site through 'http://site.com/' and click the submit button on a form, it works no problem.
However, if I access the site through 'http://www.site.com/' and click the submit button on a form, it throws an error at me.
Does anyone know why this is?
Thanks.