我有一個名爲store.html的HTML頁面和iframe加載JavaScript裏面(精確的Nimbit商店),當我從菜單調用store.html通過ajax在我的index.html商店頁面正常加載,但是當包含JavaScript完成加載的iframe刷新整個網站。 我怎麼能阻止呢? 感謝球員在advance.Easy我請我學習......html頁面和iframe裏面通過ajax加載是整個網站更新
我怎麼稱呼它通過Ajax從index.html的菜單:
<li>
<a href="store.html" class="page-by-ajax" data-ajax-options='{"target" :"#custom-page"}'>STORE</a>
</li>
我的框架store.html
<iframe src="http://www.nimbitmusic.com/theit_boy.1"
marginwidth="0" marginheight="0" name="ventana_iframe" scrolling="no" border="0" refresh="0"
frameborder="0" width="800" height="600">
</iframe>
也許nimbitmusic.com防止把網站中的在其他網站的iframe中,放置另一個網址,如google.com來檢查它。 – ZiTAL