facebook

download page does not work

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #340547 Reply

    zaga86
    Member

    in my application I’ve created a page where, via javascript and checkboxes, you can download files through a form. and so far so good. the problem is that when I click on the download button nothing happens. I expected Android came out a window that asks me where to save the file, but nothing happened. place the java code I’m using:

    
    
    var suffix=1;
    
    function downloadAll(oFrm){
    
    var oChk = oFrm.elements["file"+(suffix++)];
    
    if (oChk){
    
    if (oChk.checked){
    location.href = oChk.value;
    setTimeout(function(){downloadAll(oFrm)}, 1000);
    }
    
    else{
    downloadAll(oFrm);
    }
    
    }
    }
    
    

    have you any suggestions?

    #340716

    Hi zaga86,

    Can you provide a much more comprehensive example that help us understand the problem? only a small test case that we can review to provide you feedback.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: download page does not work

You must be logged in to post in the forum log in