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