我想通过单击十字按钮关闭另一个页面使按钮在一个页面上可见
问题描述:
我在页面上有一个按钮,当我单击该按钮时另一个页面以弹出形式打开并且按钮隐藏,但当我关闭时该弹出页面I want that button to become visible again
。我怎样才能做到这一点?我想通过单击十字按钮关闭另一个页面使按钮在一个页面上可见
答
你把两个功能:
function dissableBtns()
{
window.document.frm.name1.disabled=true;
window.document.frm.name2.disabled=true;
}
function enableBtns()
{
window.document.frm.name1.disabled=false;
window.document.frm.name2.disabled=false;
}
这个函数调用,当你想禁用或启用:
请出示你在说什么的代码。比我可以告诉你怎么做才能让它再次可见。 – 2014-12-02 05:46:16