ok so i was trying to look into making a loading spinner be put up when i am using a get or post method but it started to get a little overwhelming with what some people did. if you could help i would like to know how to make it be adapted to a section of code i have now.
function showContacts(){
$.get("grab_contact.php?v=<?php echo rand()?>", $("#emailtype").serialize(), function (html) {$("#listcontacts").html(html)});
};
thanks in advance