Jump to content

problem with Ajax and PHP


giannis196

Recommended Posts

so, i tried to built a webpage with html css jquery ajax javascript and php
the entire page runs well and when i click to a vehicle to show the comment it shows well until i click to spare parts and then click again back to browse cars
after that when i click to a car to show the comment the comment doesn't appear

when i go to developer tools i notice that, for each car at the right it have got "event listener" and when i go to spare parts and back again to browse cars it haven't got event listener

i think it's a problem with ajax and PHP...
...so, what's wrong with the code?

the link to the webpage files

carshop.rar

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...