title: Autoload class with php with an ajax request
body: <p>I have a function for autoloading my classes in the header file. So when my page loads, i am able to autoload my 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.</p>
  
  <p>Any help is appreciated. Thanks.</p>