<script type="text/javascript">
function openwindow()
{var openwindow=confirm("openwindows?");
if(openwindow==true)
{
window.open('http://www.imooc.com/','_blank','width=400;height=500,menubar=no,toolbar=no')
}
else{}
function openwindow()
{var openwindow=confirm("openwindows?");
if(openwindow==true)
{
window.open('http://www.imooc.com/','_blank','width=400;height=500,menubar=no,toolbar=no')
}
else{}
var mychar= document.getElementById("con").childNodes[0].nodeValue ;
document.write("结果:"+mychar); //输出获取的P标签。
document.write("结果:"+mychar); //输出获取的P标签。
2015-02-19