我来帮你吧。按钮有个属性。
加上disabled就可以不可用了。
比如<input type="button" name="butok" value="确 定" onclick=check() disabled>如果想让它可用的话。
可以在过程里设定它的disabled为0.
即document.form1.butok.disabled='0'。
试一下吧。下面的那两个按钮是图片效果。
你想要的话。
给我发个消息。
我做给你。

解决方案 »

  1.   

    我来帮你吧。按钮有个属性。
    加上disabled就可以不可用了。
    比如<input type="button" name="butok" value="确 定" onclick=check() disabled>如果想让它可用的话。
    可以在过程里设定它的disabled为0.
    即document.form1.butok.disabled='0'。
    试一下吧。下面的那两个按钮是图片效果。
    你想要的话。
    给我发个消息。
    我做给你。
      

  2.   

    我来帮你吧。按钮有个属性。
    加上disabled就可以不可用了。
    比如<input type="button" name="butok" value="确 定" onclick=check() disabled>如果想让它可用的话。
    可以在过程里设定它的disabled为0.
    即document.form1.butok.disabled='0'。
    试一下吧。下面的那两个按钮是图片效果。
    你想要的话。
    给我发个消息。
    我做给你。
      

  3.   

    <Input Type=Button Value="Go" Id="bGo" OnClick="this.style.disabled=true">
    <Input Type=Button Value="Stop" Id="bStop" OnClick="bGo.style.disabled=false">
      

  4.   

    先回答你第一个问题:
    <input type=button value=go name=b1 onclick="this.disabled=true">
    <input type=button value=stop onclick="document.all.b1.disabled=false">
      

  5.   

    the second one<style>
    .FormText
    {
        BORDER-RIGHT: #0066cc 1px solid;
        BORDER-TOP: #0066cc 1px solid;
        FONT-SIZE: 12px;
        BORDER-LEFT: #0066cc 1px solid;
        CURSOR: hand;
        LINE-HEIGHT: 150%;
        BORDER-BOTTOM: #0066cc 1px solid;
        BACKGROUND-COLOR: #f1f5fa
    }
    </style>
    <script>
    function input()
    {
    B1.disabled =true;
    B2.disabled =true;
        return true;
    }
    </script>
    <input type="button" onclick=input() value="发出回复" border="0" name="B1"  WIDTH="60" HEIGHT="20" class="formtext">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<INPUT name="B2" TYPE="reset" WIDTH="60" HEIGHT="20" class="formtext" value="重  写">
      

  6.   

    楼上的查看了http://www.csdn.net/Expert/xsl/Reply_Xml.asp?Topicid=886141的源文件。楼主,建议你看一下http://www.csdn.net/Expert/xsl/Reply_Xml.asp?Topicid=886141和http://www.csdn.net/csdn.css文件的内容。
      

  7.   

    <input id=GO type=button value=GO onclick="dosomething();this.disable=true;"><input id=STOP type=button value=STOP onclick="GO.disable=false;">
    争分夺秒!呵呵
      

  8.   

    1.
    <input id=go type=button value=go onclick="this.disabled = true">
    <input id=stop type=button value=stop onclick="go.disabled = false">2.
    <input type=button style="border:1 solid #000000; background-color:#DDDDDD" onclick="this.disabled">
      

  9.   

    seabell(百合心) 拿分!http://www.csdn.net/expert/topic/886/886619.xml?temp=.7232477
    http://www.csdn.net/expert/topic/886/886797.xml?temp=.5431482