Getting A Downloadable File With An Ajax Request
Edit: Not sure why this was marked as a duplicate given that the original doesn't even really have an answer other than 'use this third party tool that adds extra interface stuff t
Solution 1:
$.ajax will not work, i was attempting something similar recently but ended up with different solution. Simply have a form with hidden input and then in your sendSelected set the field and action and then submit form.
$("#hiddenField").val(data);
$("#yourForm").attr("action", path)
$("#yourForm").submit();
Post a Comment for "Getting A Downloadable File With An Ajax Request"