how to remove(not delete) dynamically generated table elements?
Hi I have looped and echoed out this result
echo '<tr><td id="'.$row['productID'].'"><img height="150px" width="130px"
src="products/'.$row['image_url'].'"></td><td>'.$row['name'].'</td>
<td>'.$row['price'].'</td></tr>';
The above resulted in a table full of data, now How do i remove a specific
row, I want to remove it not delete from the table, as in a shopping cart
where you remove the item but not delete it from the table. How would you
use javascript or any other in this case?
Thank you very much.
No comments:
Post a Comment