RSS 2.0
 Friday, October 16, 2009
var sHTML="<input type=button onclick=" +
"go2()" + " value='Click Me'><BR>"
var sScript='<SCRIPT DEFER>'
sScript = sScript +
'function go2(){ alert("Hello from inserted script.") }'
sScript = sScript + '</script' + '>';
var ScriptDiv=document.getElementById("ScriptDiv");
alert(ScriptDiv)
ScriptDiv.insertAdjacentHTML("afterBegin",sHTML + sScript);
Friday, October 16, 2009 3:13:10 PM (中国标准时间, UTC+08:00)  #    -

Categories
Archive
<October 2009>
SunMonTueWedThuFriSat
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567
Blogroll
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2010
Hubro.net
Sign In
Statistics
Total Posts: 19
This Year: 1
This Month: 1
This Week: 0
Comments: 502
All Content © 2010, Hubro.net
DasBlog theme 'Business' created by Christoph De Baene (delarou)