|
藍森林 http://www.lslnet.com 2006年8月25日 8:28
求解!
object.innerHTML="<strong>first</strong>";
可以寫入!
object.innerHTML="<object type='text/x-scriptlet' data='a.txt'/>";
為什麼沒有資源寫入!
解決方法!?
|
試試用outerHTML
[html]
<button onclick='obtest.outerHTML="<div id=obnew>very good</div>"'>test</button>
<div id=obtest>very bad</div>
[/html]
|
|