Just to add to Mark's post.

Here is a snippet for others who may need an example, I grabbed this of the
net.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> 
<html xmlns="http://www.w3.org/1999/xhtml";> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 
<title>Untitled Document</title> 
<script language="javascript"> 
     
    function tryToDownload(url) 
    { 
     
        oIFrm = document.getElementById('myIFrm'); 
        oIFrm.src = url; 
        alert(url); 
         
    } 
    window.onload = setTimeout('tryToDownload("test.rar")', 5*1000); 
     
</script> 
</head> 
<body> 
<h1>DontChange the Location</h1> 
<iframe id="myIFrm" src="" style="visibility:hidden"> 
</iframe> 
</body> 
</html>




-----Original Message-----
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Mark Mandel
Sent: Wednesday, 24 September 2008 8:32 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Prompting user to download file


iFrame?

Mark

On Wed, Sep 24, 2008 at 12:17 AM, Steve Onnis <[EMAIL PROTECTED]>
wrote:
>
>
> I know how to push a file download but has anyone managed to do it using
> Ajax?
>
> I am trying to do something behind the scenes and push a file download.
>
> Steve
>
>
>
> >
>



-- 
E: [EMAIL PROTECTED]
W: www.compoundtheory.com



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to