光子自旋
2015-11-02 20:37
提交后结果有些显示不正确
function hidetext()
{
var mychar = document.getElementById("con");
mychar.style.display = "none"; /*none要用""包含起来*/
}
function showtext()
{
var mychar = document.getElementById("con");
mychar.style.display = "block";
}
function hidetext()
{
var mychar = document.getElementById("con");
document.getElementById("con").style.display="none";
}
function showtext()
{
var mychar = document.getElementById("con");
document.getElementById("con").style.display="block"
}
JavaScript入门篇
740086 学习 · 9566 问题
相似问题