Hi,
I am working on an appliication which is running in cakephp and i am using ajax query inbetween.
In all the cases for all the ajax post i have used the url as
var ht = $.ajax({
type: "GET",
url: "http://172.20.52.99/FormBuilder/index.php/forms/viewChoices/"+attribute_id,
async: false
}).responseText;
var myObject = eval('(' + ht + ')');
is there any way in cakephp where i can give my base url as http://172.20.52.99/FormBuilder/index.php/
and to call the baseurl in all the places i want.
Please give some suggestions . Thank you..