Is it possible to open file after posting data via $.post()? Example i have form and submit link: <form> <input name="test" value="1"> </form> <a href="#" onclick="openPDF()">
And i have function: function openPDF(){ var url = some url; var posts = some kind of serializeArray(); //posting values now, here i need to post my form data to my url and next i want to see pdf. Is it possible? }