Re: [PHP] Re: target question

2013-03-26 Thread Matijn Woudt
On Tue, Mar 26, 2013 at 4:19 PM, Jim Giner wrote:

> On 3/26/2013 10:35 AM, Matijn Woudt wrote:
>
>> On Tue, Mar 26, 2013 at 3:04 PM, Jim Giner 
>> **wrote:
>>
>>
   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.
>>>
>>>
>>>
>>>
>  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
>>
>>  Matijn - thanks but no thanks.  I stopped using target= and am using
> separate forms now.
>
>
Did your PDF problem also got solved by that?


Re: [PHP] Re: target question

2013-03-26 Thread Jim Giner

On 3/26/2013 10:35 AM, Matijn Woudt wrote:

On Tue, Mar 26, 2013 at 3:04 PM, Jim Giner wrote:



  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.






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

Matijn - thanks but no thanks.  I stopped using target= and am using 
separate forms now.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: target question

2013-03-26 Thread Matijn Woudt
On Tue, Mar 26, 2013 at 3:04 PM, Jim Giner wrote:

> On 3/25/2013 5:45 PM, Tommy Pham wrote:
>
>>
>> What about
>>
>> onclick='window.open("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  into
> a  element of a  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


Re: [PHP] Re: target question

2013-03-26 Thread Jim Giner

On 3/25/2013 5:45 PM, Tommy Pham wrote:


What about

onclick='window.open("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 
 into a  element of a  and 
using the js 'this.form' identifier to facilitate copying my other input 
tag values into the about-to-be-submitted form.




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: target question

2013-03-25 Thread Tommy Pham
On Mon, Mar 25, 2013 at 10:21 AM, Jim Giner
 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php