I'm trying to Implement an event to confirm delete using j query in the next code attached
Im trying to pop up a form that will confirm the delete.
and when delete is pressed in the form I thought of checking it by if (POST['deleteEmai'])
and there delete from the db .
the problem is I have a feeling i need to use ajax because after deleting I need the page to not show the line that was deleting so I need the page to load again
maybe Im wrong and that why I wanted an advise
<form id = "popup_form " style="background-color:wh
ite; border:2px solid blue;padding:4px; width:250px; display:none; position:absolute">
are you sure you want to delete?
<input type=\"submit\" value=\"Delete\" name=\"deleteEmail\" style=\"margin-right:15px\
<input type=\"button\" value=\"Close\" onclick=\"closePopup()\" />
<td onclick = "toggleDelete()"
style="color: red; display:none; padding: 0px 10px;"
Mark as spam