I have a javascript that is on every page. I want to load some variables to an ajax.php script i have.
If I have ajax.php in the site root and use the following code in my js, everything is fine.
However, I would like for the ajax.php file to be in my jscript folder.Code:$('#div').load('ajax.php', {'id': obj, 'action': action});
So when I try the following, I get a 403 forbidden in my console.
Is there something I need to do to make this work?Code:$('#div').load('includes/templates/classic/jscript/ajax.php', {'id': obj, 'action': action});
Thanks in Advance
~D


Reply With Quote
