-2
A
回答
1
如果iframe的內容不在同一個域中,則無法訪問它。 Check here。 我當然猜測你正在加載一個外部源...... 以及你不能訪問(並改變)該iFrame內的CSS專有。
有反正有機會做到這一點,而很少使用Javascript,主動trought this interesting library發展經歷過......
相關問題
- 1. 從iframe中刪除元素Jquery
- 2. 使用jQuery刪除iframe中的元素
- 3. 從Soundcloud上的iframe中刪除元素
- 4. 從加載的iframe中刪除元素
- 5. 按元素類型從數組中刪除元素
- 6. 刪除類元素
- 7. JavaScript-如何按類查找元素並刪除此類
- 8. PHP DOMDocument:按類刪除元素
- 9. 如何清除iframe中的元素?
- 10. 如何從DOM中刪除子元素時刪除父元素?
- 11. 刪除ListView元素刪除按鈕
- 12. 如何刪除iFrame中的某個元素
- 13. 如何保護刪除類元素
- 14. 如何使用類刪除元素
- 15. 按值刪除元素
- 16. iFrame Javascript刪除div子元素
- 17. 的iFrame - JavaScript來刪除元素
- 18. 如何刪除/刪除元素?
- 19. 在editText中點擊其刪除按鈕刪除元素範圍
- 20. 如何刪除iframe當點擊按鈕
- 21. 刪除tr元素類
- 22. 如何刪除SwiftyJSON元素?
- 23. 如何刪除dat.GUI元素?
- 24. 如何刪除元素onclick
- 25. 如何刪除HTML元素
- 26. 如何刪除RealmList元素?
- 27. 如何刪除li元素
- 28. 從元素中刪除元素而不刪除元素後
- 29. HTML如何刪除iframe中
- 30. 如果元素內存在特定類,則刪除元素
我,當然,猜你加載外部源... – holden