changepage is changing relative path
Hi,
I've updated to jquerymobile 1.2 (from 1.7.1) and I have an issue with pagechange...
for example:
my site is in
all page(data-role=page) are contents in index.php, but when i call a page that is located in other php file:
$.mobile.changePage("Path/to/other/file/otherPage.phtml");
and i come back to some page (data-rol=page) in index.php.
then I do an ajax call
$.ajax({
url: 'index.php',
type: "POST",........
it does the call in following path:
and of course i get
(firebug's message)
It seems my relative path (htdocs) is changed to "Path/to/other/file" after to doing a changepage(file.php).
I dont know if i have a configuration problem or it is other thing.
thanks in advance