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
You can user JQuery and the Form serialize functionality
$('#A-id-selector').click(function() { $.ajax({ type:'POST', url: 'target.url', data:$('#Form-id-selector').serialize(), success: function(response) { // Any code to execute on a successful return } }); });