Why Javascript Save as not work in Firefox?
        Posted  
        
            by Mahran Elneel
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Mahran Elneel
        
        
        
        Published on 2010-03-21T11:14:33Z
        Indexed on 
            2010/03/21
            11:21 UTC
        
        
        Read the original article
        Hit count: 353
        
JavaScript
i using this script but not work in Firefox what can i do to work?but work good in IE
Thank You
function doSaveAs(){
    if (document.execCommand){
        document.execCommand("SaveAs")
    }
    else {
        alert("Save-feature available only in Internet Exlorer 5.x.")
    }
}
© Stack Overflow or respective owner