久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<i id='GDyMT'><tr id='GDyMT'><dt id='GDyMT'><q id='GDyMT'><span id='GDyMT'><b id='GDyMT'><form id='GDyMT'><ins id='GDyMT'></ins><ul id='GDyMT'></ul><sub id='GDyMT'></sub></form><legend id='GDyMT'></legend><bdo id='GDyMT'><pre id='GDyMT'><center id='GDyMT'></center></pre></bdo></b><th id='GDyMT'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='GDyMT'><tfoot id='GDyMT'></tfoot><dl id='GDyMT'><fieldset id='GDyMT'></fieldset></dl></div>

        <bdo id='GDyMT'></bdo><ul id='GDyMT'></ul>

    1. <legend id='GDyMT'><style id='GDyMT'><dir id='GDyMT'><q id='GDyMT'></q></dir></style></legend>
      <tfoot id='GDyMT'></tfoot>

    2. <small id='GDyMT'></small><noframes id='GDyMT'>

    3. 跨域請求本地文件

      Cross-origin request for local file(跨域請求本地文件)
    4. <i id='bu3Sg'><tr id='bu3Sg'><dt id='bu3Sg'><q id='bu3Sg'><span id='bu3Sg'><b id='bu3Sg'><form id='bu3Sg'><ins id='bu3Sg'></ins><ul id='bu3Sg'></ul><sub id='bu3Sg'></sub></form><legend id='bu3Sg'></legend><bdo id='bu3Sg'><pre id='bu3Sg'><center id='bu3Sg'></center></pre></bdo></b><th id='bu3Sg'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='bu3Sg'><tfoot id='bu3Sg'></tfoot><dl id='bu3Sg'><fieldset id='bu3Sg'></fieldset></dl></div>

        <bdo id='bu3Sg'></bdo><ul id='bu3Sg'></ul>
            <tbody id='bu3Sg'></tbody>
          <legend id='bu3Sg'><style id='bu3Sg'><dir id='bu3Sg'><q id='bu3Sg'></q></dir></style></legend>
                <tfoot id='bu3Sg'></tfoot>

                <small id='bu3Sg'></small><noframes id='bu3Sg'>

                本文介紹了跨域請求本地文件的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                我需要在瀏覽器中打開一個本地 html 文件.javascript 工作正常,但 ajax 停止工作,并且 XMLHttpRequest 給出了跨源錯誤.有沒有辦法從本地目錄運行 ajax.我有必要只從本地文件運行它.

                I need to open a local html file in the browser. The javascript works fine but ajax stops working and XMLHttpRequest gives a cross origin error. Is there a way to run ajax from local directory. It is necessary for me that it is run from local file only.

                謝謝

                推薦答案

                對于任何想知道的人,我必須在應用程序中運行一個服務器來提供 js 文件.似乎不運行服務器就不可能做到這一點.如果有人知道另一種方法,請告訴.

                For anyone who wants to know, I had to run a server in the app to serve the js files. Seems like it's not possible to do it without running a server. If anyone knows of another way, do tell.

                這篇關于跨域請求本地文件的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                Browser waits for ajax call to complete even after abort has been called (jQuery)(即使在調用 abort (jQuery) 之后,瀏覽器也會等待 ajax 調用完成)
                JavaScript innerHTML is not working for IE?(JavaScript innerHTML 不適用于 IE?)
                XMLHttpRequest cannot load, No #39;Access-Control-Allow-Origin#39; header is present on the requested resource(XMLHttpRequest 無法加載,請求的資源上不存在“Access-Control-Allow-Origin標頭) - IT屋-程序員軟件開發技術分
                Is it possible for XHR HEAD requests to not follow redirects (301 302)(XHR HEAD 請求是否有可能不遵循重定向 (301 302))
                NETWORK_ERROR: XMLHttpRequest Exception 101(NETWORK_ERROR:XMLHttpRequest 異常 101)
                XMLHttpRequest 206 Partial Content(XMLHttpRequest 206 部分內容)
              • <legend id='gh0GN'><style id='gh0GN'><dir id='gh0GN'><q id='gh0GN'></q></dir></style></legend><tfoot id='gh0GN'></tfoot>

                  <tbody id='gh0GN'></tbody>

                1. <small id='gh0GN'></small><noframes id='gh0GN'>

                          <bdo id='gh0GN'></bdo><ul id='gh0GN'></ul>
                          <i id='gh0GN'><tr id='gh0GN'><dt id='gh0GN'><q id='gh0GN'><span id='gh0GN'><b id='gh0GN'><form id='gh0GN'><ins id='gh0GN'></ins><ul id='gh0GN'></ul><sub id='gh0GN'></sub></form><legend id='gh0GN'></legend><bdo id='gh0GN'><pre id='gh0GN'><center id='gh0GN'></center></pre></bdo></b><th id='gh0GN'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='gh0GN'><tfoot id='gh0GN'></tfoot><dl id='gh0GN'><fieldset id='gh0GN'></fieldset></dl></div>

                          主站蜘蛛池模板: 国产日韩欧美电影 | 夜夜骚视频 | 亚洲狠狠爱 | 欧美激情国产精品 | 国产成人久久精品一区二区三区 | 在线午夜电影 | av一区二区三区四区 | 亚洲精品久久久久久久久久吃药 | 久久综合狠狠综合久久综合88 | 欧美日韩在线免费观看 | 成人亚洲一区 | 天天看天天爽 | 久久毛片 | 97超碰在线免费 | 亚洲午夜一区二区 | 国产精品欧美精品 | 成人小视频在线 | 国产欧美一区二区久久性色99 | a级黄色片在线观看 | 欧美黄a | 在线色网| 国产精品欧美一区喷水 | cao在线| 欧美午夜精品 | 精品欧美乱码久久久久久 | 欧美在线视频不卡 | 亚洲精品视频观看 | 国产精品完整版 | 成人av片在线观看 | 干干天天 | 欧美xxxx在线 | 国产成人精品在线播放 | 天天搞天天搞 | 国产专区在线 | 瑟瑟免费视频 | 日韩精品免费 | 欧美成人一区二区三区片免费 | 中文字幕在线一区二区三区 | 一级做a爰片性色毛片16美国 | 97人人澡人人爽91综合色 | 欧美一区二区三区视频在线观看 |