Ajax not responding for the update file

Hi ,
I am new to php. i use ajax to display some name …when i try first time ,its displaying properly but when i edit the file and try again its showing the old value itself.

Display code: ajaxText.php




Select a person: Peter Griffin Lois Griffin Glenn Quagmire Joseph Swanson

Php called for the first is ajax_content.php

<?php $q=$_GET["q"]; echo $q ; ?>

When i select a value from the drop down ,It will call the ajax and will get the response from ajax_content.php and alert will be show with the selected name alone as per the response;

Edited file ajax_content.php

<?php $q=$_GET["q"]; echo $q ."work"; ?>

In this i addedd “work” word with the respose.now when i select from the drop ,it should show the name which i selcted alone with the word “work” but its not showing like that , its still showing as old code. only the name alone.Can you help me in this ?

Sponsor our Newsletter | Privacy Policy | Terms of Service