Support » Plugins » Problem with ajax

  • Hello,

    i have created a ajax based slideshow to show the images and i have added the Javascript code in the index.php file of the theme template.

    But whenever i run my site it shows PHP 404 object not found error.

    Here is the JS code–'GET','test.php?img_id=0');

    I have included the javascript code on index.php theme file—

    <script type="text/javascript" src="<?php
    bloginfo('template_directory')?>/runmefile.js"> </script>
    	<title>Untitled 2</title>

    runmefile.js is the file that holds that above ajax code.

    test.php is the file which creates the animation. The file is present in the theme directory but it is still showing 404 error.

    I am testing it on localhost, i dont have any site.

    need help….

    Is there any other way to call the that PHP file(test.php)???

  • The topic ‘Problem with ajax’ is closed to new replies.