Re: [PHP] Re: target question
[email protected] (Tommy Pham)
| Newsgroups | php.general |
|---|---|
| Message-ID | <CANPW+MuCrUimynCn6TJ-2-nyONNprsAa_5qM8QmCmc3C4BXkqw@mail.gmail.com> |
On Mon, Mar 25, 2013 at 10:21 AM, Jim Giner <[email protected]> wrote: > In light of the apparent lack of any solution, I have embarked on changing > all my report choices to use multiple forms with different target attribs as > needed. For many of them not a big deal, but for several it adds a degree > of difficulty since I have to copy the values of any input fields into each > separate form by using hidden fields and js called by the form during > 'onsubmit'. Works but would be nicer if the simple changing of the target > was more reliable. > > Thanks for reading. > What about onclick='window.open("http://domain.com/path/to/generated/pdf", "_blank")' ? Regards, Tommy