Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

delete record without a page refresh with ajax in php

<tr data-image-id="<?php echo $r1['photo_id']; ?>">
After deleting data, run this cammand:
$("tr[data-image-id="+del_id+"]").remove();
 
PREVIOUS NEXT
Tagged: #delete #record #page #refresh #ajax #php
ADD COMMENT
Topic
Name
5+2 =