How could I make an AJAX REQUEST by clicking on a link instead of a submit button? I want once the link is clicked to POST data from input fields
With jQuery
$('#link-selector').on('click', function(event) { event.preventDefault(); $.post('url', {$('form selector').serialize()}, function(json) { // proccess results }, 'json'); });