Following piece of code works in my localhost, but when i upload files in my server behaves very strange.
$(function(){
var myPath=<?= BASE_URL ?>+'myaddress/mystatelist';
$('#country').val('US')
loadMystate('US',myPath);
});
Actually I created vhost in my localhost like "test.study.com/projectname" which means "<?= BASE_URL ?>
" will takes "/projectname
" as a BASE_URL. Facing issue when i upload files under the BASE_URL "http://dev.study.com
". Now i am getting error in firebug as "missing ; before statement var myPath=http://dev.study.com/+'myaddress/mystatelist';
"
What I done wrong this code? Kindly help me.