Hi Bart,

  Do you mind showing me a snippet of what you did ?

Many thanks,

Alexandre

[email protected] wrote:
> I did not find a way to do this with AJAX. So if you find one, I'd be
> interested :-) but my search back then indicated this is not possible.
>
> So I ended up doing the following:
>
> 1) my script sends the url to the pdf
> 2) I set the url as the action of a form and submit the form
> 3) the download dialog starts
>
> I also had to have a static form in my HTML page instead of inserting it
> with javascript, since otherwise IE would end up opening a new window.
>
> Best regards,
> Bart
>
>   
>> Dear users,
>>
>>   Still looking for a way to achieve this.  Does anyone have a hint ?
>>
>> Alexandre
>>
>> Alexandre Dube wrote:
>>     
>>> Hi list,
>>>
>>>   Can I load a script that returns a pdf using loadURL() ?  It currently
>>> returns "Unhandled request return OK" but if I copy the URL in a new tab
>>> I get my pdf correctly.  Any idea what may be wrong ?
>>>
>>>
>>>       
>> --
>> Alexandre Dubé
>> Mapgears
>> www.mapgears.com
>>
>> _______________________________________________
>> Users mailing list
>> [email protected]
>> http://openlayers.org/mailman/listinfo/users
>>
>>     
>
>
>   


-- 
Alexandre Dubé
Mapgears
www.mapgears.com

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to