Linking javascript BASEDIR
Posted
by Azzyh
on Stack Overflow
See other posts from Stack Overflow
or by Azzyh
Published on 2010-04-26T19:51:36Z
Indexed on
2010/04/26
19:53 UTC
Read the original article
Hit count: 161
linking
|JavaScript
Hello. So continue from this: http://stackoverflow.com/questions/2715295/linking-how-php-html
Please check the answer i accepted, and i used the "BASEDIR" solution zneak came with.
Now i ran onto another problem.. in my ajax_framework.js i have:
$.ajax({url: "session.php", success: function(data){
how should i include BASEDIR onto this? i was thinking something about:
$.ajax({url: "'.BASEDIR.'session.php", success: function(data){
but this isnt PHP, so i think you cant? no? any help or maybe another method to come around this?
© Stack Overflow or respective owner