Ajax + javascript inside the table
Ajax + javascript inside the table
hydradicty
Posts: 5Questions: 0Answers: 0
Dear all,
Did anyone try to put objects with ajax and javascript inside the table for each entry. In one application, I have two icons for each entry: to add and to remove (from the cart), ajax fires the php link to add selected entry into the cart, or remove it from the cart, and the javascript switch the display of these two icons, without reloading the whole page, however, I was not able to get it work. If I switch to a regular table, it works.
Could there by some solutions for this issue?
Many thanks.
- Hydradicty
Did anyone try to put objects with ajax and javascript inside the table for each entry. In one application, I have two icons for each entry: to add and to remove (from the cart), ajax fires the php link to add selected entry into the cart, or remove it from the cart, and the javascript switch the display of these two icons, without reloading the whole page, however, I was not able to get it work. If I switch to a regular table, it works.
Could there by some solutions for this issue?
Many thanks.
- Hydradicty
This discussion has been closed.
Replies
Steph
Steph