Jump to content

problem with Ajax and PHP


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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...