Re: Re: target question
| From: | Tommy Pham | Date: | Mon, 25 Mar 2013 21:45:36 +0000 |
| Subject: | Re: Re: target question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-320688@lists.php.net to get a copy of this message | ||
On Mon, Mar 25, 2013 at 10:21 AM, Jim Giner
<jim.giner@albanyhandball.com> 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