Here my jQuery ajax code
jQuery.ajax({
url:'login.php',
});
How can I add site path in (url:'login.php') like we define site path in php define('SITE_PATH','http://127.0.0.1/project/'); I want to use this SITEPATH in url:'login.php'; to display url:'http://127.0.0.1/project/login.php';
Can anyone tell me how can I do it?