Thanks to both of you. I already use valid URL for many files where I need the users to be able to manipulate them.
This time I just wanted to generate the file on the fly to especially avoid users to save it ... Except on their local desktop. Arieh : I have just tried the window.location option which works perfectly. Thanks a lot. Axel. On 7 oct, 12:58, אריה גלזר <[email protected]> wrote: > Well, if you have a url, use window.location to switch to another site. But > I agree with Andrea - you should supply a valid URL that users can save > > > > > > On Thu, Oct 7, 2010 at 11:33 AM, Axel <[email protected]> wrote: > > Hi all, > > > first thanks in advance for your help. I have been digging around to > > find a way to do this but I can't figure out what would be the > > cleanest way to do so. > > > I wish to generate an ".xls" file and open it right after the click > > into the browser. > > > What I currently do is I request "onClick" a ".php" file that generate > > the file. "OnComplete" Request I open it through a "window.open()". It > > works but like a pop up for the browser which I feel really not clean. > > I have been looking at the more builder and I'm trying to figure out > > how to do it properly ... > > > This may seems so easy I'm already ashamed but let's get some help > > over here ... > > > Many thanks to all, > > > Axel. > > -- > Arieh Glazer > אריה גלזר > 052-5348-561 > 5561
