passing POST params to a PDF in a modal window
Hi,
I'll try to explain my problem ...
I have several form inputs with a submit link in a modal page, and when I click the submit link I call this function to download a personalized pdf with the GET params.
- function download(){
- window.parent.document.location = "admin.php?controller=Cat&action=downloadPDF&title=" + $("#title").val() + "&author=" + $("#author").val() + "&coment=" + $("#coment").val();
- }
This works.
Now, I need to pass an undefined number of params, and I prefer do this thru POST, but I have no idea to code this. I've searched similar scripts but I didn't find nothing.
Anyone can help me? Thanks.
Toni.