submit content using link

<script>
jQuery(document).ready(function($){
$(".post").on("click",function(){
$.ajax({
url: "http://www.yourwebsite.com/page.php",
type: "POST",
data: { name: "John", location: "Boston" },
success: function(response){
//do action
},
error: function(){
// do action
}
});
});
});
</script>


https://stackoverflow.com/questions/14133502/post-variable-with-onclick

Sanırım bu işini görür.