[jQuery] AJAX .load() Can I set web place to my script?
Hi Folks
Now I am tasting Jquery AJAX
My BIG problem is
$("#myID").load("/mysite/myCustomDir/MyOtherPlace/myscript.php");
Yes I can run my php file. Excelent! but How can I set to this file to run in
<a href="http://localhost/mysite/mydir/myplace">http://localhost/mysite/mydir/myplace</a>?
In other word I would like to say to my server hey! I am in <a href="http://localhost/mysite/mydir/myplace">http://localhost/mysite/mydir/myplace
</a> load me
Every time run in <a href="http://localhost/mysite">http://localhost/mysite</a>
It is impossible set the web url by php. Could I set with Jquery?
In my case is impossible set /mysite/myCustomDir/MyOtherPlace/myscript.php equal with
<a href="http://localhost/mysite/mydir/myplace">http://localhost/mysite/mydir/myplace</a>
Regards<br clear="all">
--
Mário