Hi,
I have a list of products on a page.
For each product, there is a "delete this product" link:
<a href="<? echo($PHP_SELF); ?>?product_id=<? echo($id); ?> onCLick="return confirm('Are you sure?')">Delete this product</a>
When I try to delete a product, the page reloads (or looks like reloading) and the product seems to be still there (but is actually deleted, I checked in the db).
If I refresh, then it disappears.
How can I make it disappear directly (ie without pressing the refresh button)?
Thanks in advance!