Thanks your kind to  reply , this solve my problem. Thanks a lot!!

On Thursday, March 7, 2013 12:55:13 PM UTC+8, Sanford Whiteman wrote:
>
> > so what's the correct format of url ??? 
>
> Depends on the relationship between the URLs of the two pages! 
>
> If your main page (from which you make the AJAX call) is right off the 
> web root at http://example.com/main.php, and the AJAX service is at 
> http://example.com/services/myservice.php, then you can refer to the 
> service as 
>
>     services/myservice.php 
>     
> or as 
>
>     /services/myservice.php 
>     
> If your main page is deeper at http://example.com/admin/main.php and 
> the service is at http://example.com/services/admin/myservice.php, 
> then you can refer to the service as 
>
>     ../services/admin/myservice.php 
>     
> or 
>
>     /services/admin/myservice.php 
>     
> And you can *always* use the full absolute URL 
>
>     http://example.com/services/admin/myservice.php 
>         
> to avoid guesswork if you are not familiar with directory/URL 
> traversal syntax. This is not a MooTools issue, by the way -- basic 
> URL stuff. 
>
> Once you get the full AJAX URL working, then you can post the main 
> page URL and the AJAX URL and I can tell you what shorthand to use for 
> portability. 
>
> -- S. 
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"MooTools Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mootools-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to