Re: [PHP] Re: target question
[email protected] (Matijn Woudt)
| Newsgroups | php.general |
|---|---|
| Message-ID | <CAC_gtuMV6S+Fcr3SN6F0=pgUi2ewoFdi-zDA31S5TB+DFtDJ8w@mail.gmail.com> |
On Tue, Mar 26, 2013 at 3:04 PM, Jim Giner <[email protected]>wrote: > On 3/25/2013 5:45 PM, Tommy Pham wrote: > >> >> What about >> >> onclick='window.open("http://**domain.com/path/to/generated/**pdf<http://domain.com/path/to/generated/pdf>", >> "_blank")' >> >> ? >> >> Regards, >> Tommy >> >> Appreciate the attempt to help, but as I posted earlier I went around > and modified all my scripts to handle my 'target' problem by introducing > multiple form tags into my pages. So - problem eradicated. > > Took about 5 hours to change a whole bunch of them but now it's completely > safe and solid. Learned a bit of how to make JS copy my input tag values > into some hidden ones in my 'other' forms prior to submit which I hadn't > done before. All in all a learning exp. For those who haven't done it a > key feature was embedding an entire <form><input type='submit'></form> into > a <td> element of a <table> and using the js 'this.form' identifier to > facilitate copying my other input tag values into the about-to-be-submitted > form. > > > Jim, Do you have a small sample code, or can you just show us a live version? It will make it easier to say something useful about it, instead of just guessing about what might be the problem. - Matijn