1
是否可以通過javascript永久更改html值?我正在訪問本地文件。使用javascript永久更改html值?
這是我的代碼:
function switchPic(){
top.topPage.activeDef = top.topPage.document.getElementById('h1');
top.topPage.activeDef.href = "pic2.html";
}
與本地文件相同。由於安全原因,JavaScript不允許使用JavaScript文件系統訪問。 – sholsinger 2010-12-14 15:45:37
@sholsinger:但是,TiddlyWiki如何做到這一點?請參閱http://www.tiddlywiki.com/它至少適用於本地文件。 – Marcel 2012-04-27 20:14:33