开发者

Autoload class with php with an ajax request

I have a function for autoloading my classes in the header file. So when my page loads, i am able to autoload my开发者_Python百科 class and use it in the body of my code. But i have a ajax request which reloads only a part of my page. At this time the autoload function is not working cause its in my header. How do i make the autoload class to work while i am reloading only a part of my page.

Any help is appreciated. Thanks.


Add autoloader to the script that processes your AJAX request.

Remember: there is no such thing as 'reloading only a part of my page'. Each request is handled entirely on its own.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜