显示与隐藏
function showtext()
{
var mychar = document.getElementById("con");
mychar.style.display="block";
}
与
function showtext()
{
var mychar = document.getElementById("con").style.display="block";
}
是等效的么?一样的意思么
function showtext()
{
var mychar = document.getElementById("con");
mychar.style.display="block";
}
与
function showtext()
{
var mychar = document.getElementById("con").style.display="block";
}
是等效的么?一样的意思么
2015-02-27
举报