1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    33
    Answers
    5
    Vote Rating
    0
    raj542 is on a distinguished road

      0  

    Default Answered: window.open() not working for files other than jpeg in IE8

    Answered: window.open() not working for files other than jpeg in IE8


    Hi all,

    Code:
    window.open("Rest resource path" +"_blank");
    opens only jpeg files, gives error when try to open files other than jpeg.

    please let me know how to solve this issue.

    Thanks,
    Raj

  2. Hi all,


    This code can be used instead of window.open() method which works fine in all browsers as window.open() gives problem in IE8.


    Code: var downloadUrl = "../../rest/docspace/folders/" + folderId + "/files/" + rows[0].data.id + "/download";
    var downloadFrame = document.createElement("iframe");
    downloadFrame.setAttribute('src',downloadUrl);
    document.body.appendChild(downloadFrame);

  3. #2
    Sencha User
    Join Date
    Apr 2012
    Posts
    33
    Answers
    5
    Vote Rating
    0
    raj542 is on a distinguished road

      0  

    Default


    Hi all,


    This code can be used instead of window.open() method which works fine in all browsers as window.open() gives problem in IE8.


    Code: var downloadUrl = "../../rest/docspace/folders/" + folderId + "/files/" + rows[0].data.id + "/download";
    var downloadFrame = document.createElement("iframe");
    downloadFrame.setAttribute('src',downloadUrl);
    document.body.appendChild(downloadFrame);

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi