We are using this ajax script one our website:
[login to view URL]
We use the click variant which means: The user press a link and then it shows via ajax the content of an php script in a box.
There are two problems:
- The php script (which get loaded via ajax in that box) is dynamic. So it should show different content with each click. it doesn't. the content is always the same.
- When I call the website with the link (which i can press to load a script via ajax in that box), the php script (which get loaded via ajax in that box) get called as well, but i should not. the php script should only run, when i click the link.
i made an little single running examle, you can get it here:
[login to view URL]
Run the [login to view URL] and click on the image. You will now see the content auf the [login to view URL] in a box. Try to click that link few seconds later. You will see the same content, but it should be different, because the time changed. Maybe the solution for this problem, will solve the second problem as well. i do not now.
your task is to fix the two problems of my example script, so that this is running.
## Deliverables
Okay here again my example script. I did not know, that I can upload it later. You only need to extract and it is running.