<script language="javascript">
function delconfirm(){
if(confirm("节目未播出,是否播出")){
//点了确认,在这写确认后的语句吧
}
else{
//点了取消,在这写取消的语句吧
}
}
</script>

解决方案 »

  1.   

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>无标题文档</title>
    <script language="javascript">
    function delconfirm(){
    if(confirm("节目未播出,是否播出")){
    alert("确定");
    }
    else{
    alert("取消");
    }
    }
    </script><script type="text/JavaScript">
    <!--
    function MM_jumpMenu(targ,selObj,restore){ //v3.0
      eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
      if (restore) selObj.selectedIndex=0;
    }
    //-->
    </script>
    </head><body>
    <form name="form1" id="form1">
      <select name="menu1" onchange="delconfirm()">
        <option value="url1">ImageViewer</option>
        <option value="url2">mx.core.ext.UIObjectExtensions</option>
      </select>
    </form>
    </body>
    </html>
      

  2.   

    It is about js to reponse the events on the client browser side.