gskoli has asked for the wisdom of the Perl Monks concerning the following question:

Hello everyone,
Guys i am refreshing a iframe using ajax ... source of that iframe calling another cgi file
Iframe is reloading after every 30 min(Due to ajax)...

Now if i change some (html)code.
Then it is not showing change after next iteration of refresh


e.g.
this is view.cgi file
<iframe src="update_tracker.cgi?name=$one&value=$two">

now in update_tracker.cgi , Suppose having following code
<body> <p>Message : this is paragraph</p> </body>

now suppose if i change Message to something then
when next time it get refresh that changed Message should get display
But it is not Displaying the change

Thanks ...
In advance

Replies are listed 'Best First'.
Re: perl + ajax
by Corion (Patriarch) on Apr 27, 2010 at 08:22 UTC

    So, does your Perl code work with Javascript disabled? Can you manually load the URL where you fetch your status update from? If you can manually fetch the status update, then the problem is in your Javascript code. If you can't fetch the update manually, the problem is in your Perl code and then we can maybe help you further.

    You show neither Perl code nor the Javascript code nor have you shown what you've done to debug this. I'm not sure how you expect us to help you here.

A reply falls below the community's threshold of quality. You may see it by logging in.